Hi,
I’d like to create feature lines from polylines, but the FeatureLine.ByObject node from Civil3DToolkit gives me the following warning:
FeatureLine.ByObject expects argument type(s) (Autodesk.Civil.DynamoNodes.CivilObject), but was called with (Autodesk.AutoCAD.DynamoNodes.Polyline).
The Polylines come from TinSurfaceExtensions.ExtractContoursByElevationsInterval node, so they are already existing object in Civil 3D.
How should I solve this problem?
A.C3D
2
Hi,
You can use those nodes.
1 Like
Thanks for the tip, but it doesn’t work in my case. Maybe because I have closed polylines.
A.C3D
4
You can convert to curve geometry first then use the node : Polycurve.CloseWithLine.
1 Like
Thanks again, but it didn’t work in my case, because I originally had closed polylines…
Never mind, I solved it with python script.
A.C3D
6
Share your Dyn file if you want.