Converting lines from DWG to pipes or ducts

Hello,
Can anyone help me, why CurveElement is null?

Sorry I could’t upload my .dyn file or screenshots since i was a new user.

You should be able to post an image now.

:slight_smile:

LineToMep.dyn (52.9 KB)

Please refer to the attached dynamo script

Guessing as I am on mobile so I cannot open it, but does your graph make use of items we don’t have? Pipe types, the dwg, etc?

Posting an image of where you are failing, with expanded previews will help is help you more effectively.