Hi All,
Is it possible to get the structural framing elements that are within a Revit truss family.
Example, select the truss get a list of the element Ids?
Thanks for any thoughts
Hi All,
Is it possible to get the structural framing elements that are within a Revit truss family.
Example, select the truss get a list of the element Ids?
Thanks for any thoughts
Thanks for that @Einar_Raknes
Sometimes I could kick myself, cant see the forest from the trees.
Thanks,
How should I amend the script to work on multiple elements?
Cheers
You can use a for loop.
trusses = UnwrapElement(IN[0])
OUT = []
for truss in trusses:
OUT.append(truss.Members)
Looks like you are missing the close bracket.
OUT = UnwrapElement(IN[0]).Members
Dear @Ewan_Opie
the script above runs for list 1 element, please help by node multi-element
thank you so much
@Top If you look at how @Einar_Raknes had shown a for loop in the answer above.
Pasting the code inside a python node with the appropriate references should do the trick.