Create Pipe or duct from dwg


#1

I would like to create pipe or duct from DWG link (line or polyline).

Do you have an idea ?


Pipe & Duct Creating Using Dynamo from CAD link
#2

Hi @c.barribaud

Try this Create Duct From CAD.dyn (7.6 KB)
DYN script. Below is the process in action:


Create Pipe from DWG
Pipe & Duct Creating Using Dynamo from CAD link
#3

Hi,

Trying you DYN script on REVIT 2016 with dynamo 1.2, I have somme errors:

Polycurve.Curves :

Warning: No function called Curves on a
  Autodesk.DesignScript.Geometry.Line that takes __array could be
  found




Curve.StartPoint : 

Warning: Internal error, please report: Dereferencing a non-pointer.



Curve.EndPoint : 

Warning: Internal error, please report: Dereferencing a non-pointer.



Create Duct : 

Warning: IronPythonEvaluator.EvaluateIronPythonScript operation
failed. 

Traceback (most recent call last):

  File "<string>", line 36, in <module>

TypeError: NoneType is not iterable

#4

On which REVIT and dynamo version does it work ?

Do you have an idea about my errors ?


#5

Hi Kulkul,
I get the following error. I am newbie sorry for silly question but if there is any package I need to download please let me know

Current Document Custom Note: Error: Custom node definition is not loaded!

Another question can I use conduits instead of ducts?


#6

Thank you so much @Kulkul for sharing the good work. I’ve be struggling to design the graph by myself. Hope I’ll now complete my work by using your example. Many thanks, stay blessed : - )