Pipe from CAD DWG

I am attempting to create a Pipe from CAD program in Dynamo.

However, My graph is getting this error in the Python Code:
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 39, in
AttributeError: ‘list’ object has no attribute ‘ToXyz’


My graph seems to be recognizing the points in the dwg.
Any advice would be appreciated!

i’ve got a similar problem, maybe you cant try the node from MEPover pipe.byline

your points have multiple list level. thats why it is causing this issue. flatten your startpoint and endpoint first before feeding it into the python script