Area from Corridor Body


How can I get a area from my corridor solids extracted ?
The Civil extract some parts as a “Body”, and I couldn’t find this property to get it in Dynamo.
This body elements shows when I extract a corridor and I don’t have volume, just a line into assembly.


I need this area to extract into Navisworks, as part of my Federated Model.


Hi @lucas.ciriloHL8PZ,

Hmm, that is a tricky one. I don’t think it’s possible to get the surface area of an AutoCAD Body, either in Dynamo or not. You could explode them all down, but then you will probably get a mixed bag of Regions and Surfaces, so it’d be more tricky to handle all of the different potential object types.

One approach could be to use the LINEWORKSHRINKWRAP command to generate a polyline along the boundary of the bodies, but that would be a 2D area and not a true 3D surface area. That could add up to a significant difference with large areas.

What about ignoring the AutoCAD Bodies altogether and doing the computation directly with Dynamo Surfaces? You could create lines connecting the desired point/link codes and then create surfaces with Surface.ByRuledLoft. Something like this:

I guess from there you’d have to assign the values to a Property Set or something in order to get them into Navisworks.


These are great ideas

Like! Does someone have an idea on how to bring the resulting (dynamo) surface or (dynamo) poysurface to autocad?

Hi there! Here is my approach! But any ideas on how to bring the dynamo surface back into C3D?

@FC_GN8, you can extract perimeter and send it to autocad as a polylines or can create a hatch from extracted perimeter and send it to autocad.

It depends what object you need to have in C3D, but besides what @shahid.shaikh_C3D suggested, what I usually do is create a solid with a really small depth using the Surface.Thicken node

1 Like

I don’t know if this has been solved or not, I was experimenting with it and I think I found a way to do it using the bodies and without the corridor.
Sadly, there may be some inconsistency, because of the Point.PruneDuplicates node, so it is not final. Please feel free to give feedback.
Body test.dyn (436.9 KB)

1 Like