Create Conduit Problem

hi everyone

I want to create new conduit, but there are some porblem so that does not work,
I I guess conduittype problem.
Can someone help me answer it ?

Thank you very much

Hi,
In which Revit version your trying to create conduit?

Revit 2015

You forgot to UnwrapElement on the ConduitType, the rest of your script should work I think. Here’s a version I’ve created that takes mulitple startpoints and endpoints to create more than 1 conduit:

Thank you T_pover
You helped me a lot

Hi,

I tried your code in Revit 2017 with Dynamo 1.2.0.2831 and I get this warning on the Python Node:

"IronPythonEvaluator.EvaluateIronPythonScript operation failed. _
Traceback (most recent call last):
_ File “”, line 30, in

AttributeError: ‘RuntimeType’ object has no attribute ‘Id’"

Any idea how I can solve this?

Did anyone find a solution to this ?

The python code in the above picture is correct, but the inputs into the python node aren’t.
After the Element Types there should be an All Elements Of Type node. Then from the output of that node select the correct ConduitType and feed that into the python node.

Like this:

A post was split to a new topic: Create conduit for multiple lines or points

@mrathnakar Start new topic. This thread is already solved.