CAD.CurvesFromCADLayers

Hi again!

When I link this drawing into Revit, the lines seems to have breaks at certain points. (Around 4mm) break.
However, when I check in AutoCAD, the line is a Polyline. Why did it even break when imported into Revit then?

I thought it might just be visually unjoined, so I tried using CAD.CurvesFromCADLayers, it’s the same.

[Question] Polyline.dwg (96.9 KB)
image

Can anyone enlighten me on what I did wrong?

Thank you in advance!

hey @Potato Despite being line or polyline the CAD.CurvesFromCADLayers node will always return curves. You can do
1.GroupGeometriesByLayer node in LINKDWG package to get output as a polycurve.
image

2.take curves from CAD.CurvesFromCADLayers ,group the curves by Group Curves node from archilab package and then Polycurve.ByJoinedCurves to get a polycurve.

Hi there!
I tried the Group.Curve
That was what brought me to this problem.
I couldn’t see it at first, but after grouping, I see there were 4 lists instead of 2.

Whatever the case is, my friend suggested me to Untick this


And it works now XD

Not sure why it works if I untick it
But it is what it is.

I’m still up for Solutions if any. For now, I’ll just untick this little box

can you elaborate what exactly you wanted to do in detail?

I wanted to extract that Polyline from CAD to work on it
I need the extracted Curves to be 2 continuous line as it should be.
Group.Curve should come back with 2 groups of curve.
image

If I tick the box, apparently the CAD file that I link, will break itself at some points.
my Group.Curve will instead, come back with 4 groups of curves.