# Conduit Parameter to Conduit Run Parameter

**URL:** <https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719>\
**Category:** Packages\
**Created:** [December 15, 2015, 1:17pm UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719 "2015-12-15T13:17:53Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan\_Burnett](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@Dan\_Burnett](https://forum.dynamobim.com/u/Dan_Burnett)\
**Post date:** [December 15, 2015, 1:17pm UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/1 "2015-12-15T13:17:53Z")

</div>

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.

&nbsp;

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [December 16, 2015, 2:20am UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/2 "2015-12-16T02:20:05Z")

</div>

Hi Dan,

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

 ![Untitled1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/4/40902de7803ae99a744581f675850fb81abef168.png)

---

<div class="post-metadata">

**Author:** ![Dan\_Burnett](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@Dan\_Burnett](https://forum.dynamobim.com/u/Dan_Burnett)\
**Post date:** [December 16, 2015, 5:58am UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/3 "2015-12-16T05:58:45Z")

</div>

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.

 ![Conduit-Conduit Run](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/5/55a9206e1c4cbdaf9fedbf153590afe878f9e87a.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [December 16, 2015, 8:14am UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/4 "2015-12-16T08:14:53Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Dan\_Burnett](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@Dan\_Burnett](https://forum.dynamobim.com/u/Dan_Burnett)\
**Post date:** [December 16, 2015, 12:15pm UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/5 "2015-12-16T12:15:08Z")

</div>

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

&nbsp;

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [December 16, 2015, 12:21pm UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/6 "2015-12-16T12:21:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Dan\_Burnett](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@Dan\_Burnett](https://forum.dynamobim.com/u/Dan_Burnett)\
**Post date:** [December 16, 2015, 1:35pm UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/7 "2015-12-16T13:35:47Z")

</div>

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

 ![Conduit-Conduit Run1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/f/f849298620fd8a51f4a16a077225414d024af510.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [December 16, 2015, 9:43pm UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/8 "2015-12-16T21:43:16Z")

</div>

Hi Dan,

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

---

<div class="post-metadata">

**Author:** ![Dan\_Burnett](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@Dan\_Burnett](https://forum.dynamobim.com/u/Dan_Burnett)\
**Post date:** [December 17, 2015, 7:10am UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/9 "2015-12-17T07:10:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [December 17, 2015, 8:07am UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/10 "2015-12-17T08:07:13Z")

</div>

Just clean up every thing except “Conduit” & “Conduit Run” then send me to [kulkul7536@gmail.com](mailto:kulkul7536@gmail.com)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [December 17, 2015, 8:16am UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/11 "2015-12-17T08:16:11Z")

</div>

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](http://dynamobim.org/wp-content/uploads/forum-assets/testingwaters/12/17/conduit.dyn) I used [this revit file](http://dynamobim.org/wp-content/uploads/forum-assets/testingwaters/12/17/conduit.rvt) as the base.

![20151217-1](http://dynamobim.org/wp-content/uploads/forum-assets/testingwaters/12/17/20151217-1.png)

---

<div class="post-metadata">

**Author:** ![Dan\_Burnett](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@Dan\_Burnett](https://forum.dynamobim.com/u/Dan_Burnett)\
**Post date:** [December 17, 2015, 9:22am UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/12 "2015-12-17T09:22:34Z")

</div>

\<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](http://dynamobim.org/wp-content/uploads/forum-assets/cadenniselectric-com/12/17/conduit.rvt)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [December 17, 2015, 11:22am UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/13 "2015-12-17T11:22:28Z")

</div>

Dan,

Below is the workflow. Hope this helps!

 ![conduit](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/1/1fde707255c103bb3fb42afe031eff0c1f1bb135.png)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [December 17, 2015, 10:48pm UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/14 "2015-12-17T22:48:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [December 18, 2015, 2:35am UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/15 "2015-12-18T02:35:08Z")

</div>

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

![:-)](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/1X/d5c707ea9e8f1bbd0c95a662c6d01970d3453729.gif)

---

<div class="post-metadata">

**Author:** ![Dan\_Burnett](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@Dan\_Burnett](https://forum.dynamobim.com/u/Dan_Burnett)\
**Post date:** [December 18, 2015, 5:40am UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/16 "2015-12-18T05:40:03Z")

</div>

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.

&nbsp;

[ 

![Conduit-Conduit Run4](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/a/ae7f2bd61f8e85596a13678750a0a51c4634910b.png)

 ](http://dynamobim.org/wp-content/uploads/forum-assets/cadenniselectric-com/12/18/Conduit-Conduit-Run4.png)

---

<div class="post-metadata">

**Author:** ![Dan\_Burnett](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@Dan\_Burnett](https://forum.dynamobim.com/u/Dan_Burnett)\
**Post date:** [December 18, 2015, 11:54am UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/17 "2015-12-18T11:54:28Z")

</div>

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](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/a/ada6558dfb814e1816c06aa99b24c4b8fd620a4b.png)

 ](http://dynamobim.org/wp-content/uploads/forum-assets/cadenniselectric-com/12/18/ConduitRunR.png)

---

<div class="post-metadata">

**Author:** ![Dan\_Burnett](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@Dan\_Burnett](https://forum.dynamobim.com/u/Dan_Burnett)\
**Post date:** [December 18, 2015, 12:33pm UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/18 "2015-12-18T12:33:11Z")

</div>

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

 ![Conduit-Conduit Run4](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/4/4495a1401b6c68f6f683588374c4423875a2df3f.png) ![ConduitRunR](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/8/898da39c6f4e942dbf6d1c7c9e3f4adce607ec30.png)

---

<div class="post-metadata">

**Author:** ![BakerElectricTech](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@BakerElectricTech](https://forum.dynamobim.com/u/BakerElectricTech)\
**Post date:** [April 20, 2017, 8:16pm UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/19 "2017-04-20T20:16:46Z")

</div>

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](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719) 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!

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/e/8ecb39468ad54af6309d4912e18921247ddfd508.png)

---

<div class="post-metadata">

**Author:** ![Matthew.Latham](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@Matthew.Latham](https://forum.dynamobim.com/u/Matthew.Latham)\
**Post date:** [February 1, 2018, 12:50pm UTC](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719/20 "2018-02-01T12:50:01Z")

</div>

![Dynamo](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/4/b4091e4e668f89d9910b644d8c04fd916f80e5d4.png)

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 ?

[Next page](https://forum.dynamobim.com/t/conduit-parameter-to-conduit-run-parameter/2719.md?page=2)
