Line form dwg to pipe in revit

Hi Tomasz,

thank you for the reply, i have a question if i can find solution in this article:

I have never done anything in the dynamo so i need some pattern.