Create Conduit Problem

mep

#1

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


#2

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


#3

Revit 2015


#4

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:


#5

Thank you T_pover
You helped me a lot


#6

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?


#8

Did anyone find a solution to this ?


#9

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:


#10

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


#11

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


#14