Can't get polylines from CAD to Dynamo

Hi. I’m trying to get polylines from Civil3D to Dynamo.
image
I have problems to get the polylines that have curves, as the image below show.
image
image
What can I do? I’m trying to get the geometry in Dynamo to get the geometric center and put a text with the area in it for each polyline. Thanks in advance. I keep trying to learn Dynamo.
METRADO_PISTAS.dyn (99.9 KB)
EJEMPLO_PRUEBA.dwg (497.3 KB)

Q10

2 Likes

Yup this. Try using overkill command on all of your geometry.

There is a node in the Civil 3D Toolkit called PolylineExtensions.GetGeometry that handles duplicate vertices and removes them. If that doesn’t work, there is also a node called BlockExtensions.Overkill.

2 Likes

Where and how should use the Overkill node? Thanks for your response.

PolylineExtensions.GetGeometry doesn’t work. How should I use the Overkill node? Thanks for your response.

The block input would be Document.ModelSpace.

Do I only have to do this?
image
Should I change the Select Objects node too?
METRADO_PISTAS.dyn (103.0 KB)

Yes, that’s it. Then retry selecting the objects. Or use an All Objects Of Type node after overkill, that would ensure that the sequence of operations stays how you want it.