I couldn’t find a way of doing this with OOTB nodes, but with python it’s pretty easy:
here’s the code:
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
#The inputs to this node will be stored as a list in the IN variables.
systems = UnwrapElement(IN[0])
panels = []
elements = []
for x in systems:
panels.append(x.BaseEquipment)
sublist = []
elementset = x.Elements
for x in elementset:
sublist.append(x)
elements.append(sublist)
#Assign your output to the OUT variable.
OUT = panels, elements