I’ve modified this python script in order to create ducts from a cad file and now it works.
Now I would like to do the same but with pipes. The thing is that I should change at least the line 40 and 31:
Ducttype = IN
doc.Create.NewDuct(x, y, Ducttype)
Could somebody tell me the correct command and parameters for pipes?