Get the embeded Structural Framing from a Revit Truss Family

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

4 Likes

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)
3 Likes

Hi, trying this out and it is not working.
Any ideas?

Looks like you are missing the close bracket.

OUT = UnwrapElement(IN[0]).Members

2 Likes

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.

1 Like