Dynamo shapes

Hey everyone,
I’m facing an issue with element shapes in my project. I need to identify the shapes of elements like pipes, ducts, etc., to correctly place Revit families that represent penetrations in walls and floors. These penetrations come in both rectangular and round shapes, so I want to ensure the penetrations match the shapes of the system elements.

Sounds like a good use case. What have you tried so far?

My idea is to use the “Categories” block to specifically load the Round Duct category, but I can’t do that in Dynamo – I can only load the general Ducts category. Now, let’s say I’m looking for a block that can somehow differentiate or categorize the geometry into round and square shapes, so I can set the appropriate family at their connection points.

Each duct instance has a type. Each type has a definition for the shape. Ergo, each duct has a definition for the shape.

There’s a node for that [OpenMEP]

All the MEPCurves

another option maybe could be parameter exist with “diameter” from clockwork