Can I use constrain properties in Dynamo?

I want to extract the rebars belonging to each elements(Slab, Copping, Pier, FoundationSlab) and group them.

The rebars are bound by constraints in the Revit model.
Can I extract the list of rebars using constrain properties in Dynamo?
For example, a list of rebars constrained to Pier element.

Currently, I do not know how to, So I extract the geometry and then use the intersection node(Refer to the picture below)

if you can’t see the picture…

Hi @judy2659 ,

Geometry.Intersect sounds like a good approach.

However, I don’t follow the logic to then use a List.Flatten node if you want to get groups per element intersection since they are already grouped per pier element.

PS: please use the camera tool/ icon in Dynamo (upper right corner, just make sure you’re zoomed in first) to take a high-res screenshot of your graph next time :slight_smile: