FeatureLine.Curve2D issue with grading feature lines

So, I think I am going to change my name to Edge Case :smiley:.

The script you provided works great, but I find a weird behavior in the FeatureLine.Curve2D node. If I have a standard feature line touching a grading object feature line (not a great practice, I know) it seems to drop the geometry of the grading object feature line and consider it null. Not something that has to be done often, but sometimes I do need to block out the grading object feature line if my target plane has really long triangles in it and pasting them together causes contours to get pulled out of alignment. If you pull them apart the script works as intended. Just a heads up!

Feature Lines - Feat to 2D Polyline - By Site.dwg (952.9 KB)
Feature Lines - Feat to 2D Polyline - By Site (V1).dyn (24.7 KB)


Thanks so much for flagging this, @DevinLJackson! I can reproduce the issue. We’ll try to isolate the problem and let you know what we find.

Hi @DevinLJackson,

Just wanted to let you know that this has been addressed in Civil 3D 2027.1.