Conduit Parameter to Conduit Run Parameter


#1

I have a shared parameter for Conduits, Conduit Fittings, and Conduit Run. Is there a way to get it to have Dynamo copy the Value from Conduit and apply it to Conduit Run. I’m new to Dynamo and I’m just fumbling around any focus on the path I should take would help.

 


Conduit Parameter to Conduit Run Parameter via "Comments"
Conduit Parameter to Conduit Run Parameter via "Comments"
#2

Hi Dan,

Which parameter values you want to copy from conduit. Below is an example of conduit lengths. Hope it helps!


#3

Sorry if my question was not clear Conduit Run is not a parameter it’s an element. Comments and Conduit Type are the only things auto shared between “Conduit” and “Conduit Runs”. I’m attempting to make more Shared Parameter to collaborate between the two.


#4

Correct me if i am wrong. Are you looking to copy “Comments” parameter values from “Conduit” + “ConduitRun” + Conduit parameter “EET DATA Shop Order” and assign them to “ConduitRun” parameter name “EET DATA Shop Order”.

Join all three parameters and assign to one?


#5

I’m only trying to copy “EET DATA Shop Order” From Conduits to Conduit Run. Comments automatically transfer.

 


#6

Then in this case your script is good to go. What is the error message your getting?


#7

When I run the script it does to copy to the right Conduit Run.


#8

Hi Dan,

Can you put here revit file so that i can have closer look at it and provide to you workflow.


#9

The File is to big 5m is the largest this site will let you upload.


#10

Just clean up every thing except “Conduit” & “Conduit Run” then send me to kulkul7536@gmail.com


#11

This should work. It’s important to understand what distinguishes Conduit from Conduit Run

Conduit - Includes System Family: Conduit with Fittings and System Family:Conduit without Fittings

Conduit Run - Includes only System Family: Conduit without Fittings

File: conduit.dyn I used this revit file as the base.


#12
    <li class="bbp-topic-freshness topic-latest-activity-meta"> <div class="row">Vikram This gets close but once you have more conduits that conduit runs it jumbles the list. Thank you guys for all your help</div>
Revit File conduit

#13

Dan,

Below is the workflow. Hope this helps!


#14

The Dynamo definition I’d provided will only work if my assumption regarding the difference between Conduit and Conduit Run is correct.

However I realized that it isn’t necessarily correct and that the conduit family can be changed from Conduit without fittings to Conduit with fittings.

Doing so does not delete that instance of the column run (which should happen for my definition to work)

I’m not familiar with the Revit MEP. To come up with a proper definition it would be important to understand what a Conduit Run actually is.


#15

Never mind Vikram. Conduit installations are normally referred to as runs of conduit. A run of conduit is the conduit, fittings, straps, conductors, and bends needed from one opening to the next (for example, from the panel board to the first outlet box or from the first outlet box to the second outlet box).

Cheers :-)


#16

Ok I have a project that has almost 3000 Conduit Runs. Is there a way to filter list to copy only the Parameter filled for conduit to the associated Conduit Run. Kulkul your code works great when all parameter are filled in but when Conduit parameter is not filled in then it fills in every instant in the Conduit Run Parameter and in the wrong order.

 

Conduit-Conduit Run4


#17

So it appears that when “EET DATA Shop Order” has the same value for different “Comments” that is when the script is fails to respond in the way that is needed.

ConduitRunR


#18

Ok this gets me to the right amount of Parameters to be filled in it’s just not filling in the right Conduit Run.

ConduitRunR


#19

What I was wanting to do was to be able to draw a conduit run and then tab select it and be able to fill out comments (which we all know will transfer from the conduit to the conduit run) and fill out my Conduit Run System Type. Then I wanted dynamo to transfer what I typed into Conduit Run System Type for conduits to transfer to the conduit run in the Conduit Run System Type shared parameter that I made as a project parameter which allows it to be used on conduit, conduit fittings, and conduit Runs. I assume that is what this thread: Conduit Parameter to Conduit Run Parameter was trying to do. Due to some of the ideas in the previously mentioned thread I have accomplished exactly that! So hopefully Dan from the previous thread is fallowing this one because i have attached the image of how to do this. Oh and it will make sure that the correct information is in the correct places which is what the previous thread was missing that I fixed.

How to use the workflow
The key is you have to have made shared parameters that are project parameters and force them to be available to conduits, conduit fittings, and conduit runs. Then when you draw a run you have to tab and select the whole run. At this point the shared project parameter you made can be filled out but you also have to fill out the comments parameter so what I do is I use this script and another script that will take my comments and transfer it to Conduit Run Name which is another shared project parameter I made and I fill in the Conduit Run Name in comments so there are two parameters that have my Conduit Run Name but I already had tags and things set up using that parameter. So you could just use comments as your run name.

I hope this answers this thread and the previous thread enjoy!


#20

BakerElectricTech i have used your example but i changed it to copy from conduit run to conduits and fittings. This works great in a test project but when i try run with in a project it doesnt work. But also if i copy the conduit runs from the project to a new one it works. any ideas ?