I’m trying to Selectively propagate shared parameters values from conduit to a conduit run. My script will propagate the parameters to connected conduits and fittings using the “Select Model Element” just fine. However, I can’t find a way to “SetParameterValuesByName” for a single ConduitRun. “Element Types” will get All the “ConnduitRun”(s) How can I get just a single ConduitRun so my parameters won’t populate all runs?
In this graph I am getting all the connected conduits with some nodes from the MEPover package. You could start with this method and modify it.
Select model element, get parameters from it, get connected, apply the parameters to the connected elements
I actually have MEPover package loaded and I’m using the node “Elements in Connected Network”. However, The node uses conduit and fittings elements and is not the “ConduitRun”
@jacobmock3577
Hello this would be great I am trying to find a way to coorelate conduit run to its elements. But it is not working for me, what version of dynamo/revit are you using? What is inside your other python node? could you show us please?
if isinstance(IN[0], list):
elements = UnwrapElement(IN[0])
else:
elements = [UnwrapElement(IN[0])]
OUT = [doc.GetElement(x.RunId) for x in elements]
I am also not sure why but typing in the Python script is what you need to do per your image it is not working correctly. Colors of the text should look like this. Looks like it should be the yellow text only you need to fix.