# Get Yes - No parameter into a shared parameter

**URL:** <https://forum.dynamobim.com/t/get-yes-no-parameter-into-a-shared-parameter/20139>\
**Category:** Revit\
**Tags:** lunchbox\
**Created:** [March 16, 2018, 12:28pm UTC](https://forum.dynamobim.com/t/get-yes-no-parameter-into-a-shared-parameter/20139 "2018-03-16T12:28:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayakus](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@ayakus](https://forum.dynamobim.com/u/ayakus)\
**Post date:** [March 16, 2018, 12:28pm UTC](https://forum.dynamobim.com/t/get-yes-no-parameter-into-a-shared-parameter/20139/1 "2018-03-16T12:28:33Z")

</div>

I am new to Dynamo but I think I am close. I have a parameter which is a checkbox and I want to get the value to populate a shared parameter. I am not getting any error but nothing gets filled in the shared parameter I created. The shared parameter field is set to text. Any help would be greatly appreciated.

 ![YES-NO%20ISSUE](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/8/78cdbf2fd7324244f04860d6fe2cb60b5a6ba8e0.png)

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [March 16, 2018, 1:18pm UTC](https://forum.dynamobim.com/t/get-yes-no-parameter-into-a-shared-parameter/20139/2 "2018-03-16T13:18:05Z")

</div>

see topic:

[http://dynamobim.org/introducing-listlevel-working-with-lists-made-easier/](http://dynamobim.org/introducing-listlevel-working-with-lists-made-easier/)

i think it is a list level problem try playing around with the levels

or send a overall picture

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [March 16, 2018, 1:20pm UTC](https://forum.dynamobim.com/t/get-yes-no-parameter-into-a-shared-parameter/20139/3 "2018-03-16T13:20:46Z")

</div>

and / or convert what comes out of the Lunch box node to a string

use the Node String from Object

---

<div class="post-metadata">

**Author:** ![ayakus](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@ayakus](https://forum.dynamobim.com/u/ayakus)\
**Post date:** [March 16, 2018, 2:44pm UTC](https://forum.dynamobim.com/t/get-yes-no-parameter-into-a-shared-parameter/20139/4 "2018-03-16T14:44:23Z")

</div>

Thanks for the reply. I tried string from object and didn’t get any errors but still nothing filled in the parameter. I also tried List.GetItemAtIndex and ran through the levels and get an error and everything is null. Below is the full workspace it’s not pretty but it’s working for the most part. I know the string for parameter name is good because I fed family name to it with no problems.

 ![YES-NO%20ISSUE%203](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/f/7f9347f7bf058180b454711f59b71f243a6aa72f.png)

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [March 16, 2018, 2:48pm UTC](https://forum.dynamobim.com/t/get-yes-no-parameter-into-a-shared-parameter/20139/5 "2018-03-16T14:48:52Z")

</div>

you have to zoom in and take then a picture  
we can not read this

---

<div class="post-metadata">

**Author:** ![ayakus](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@ayakus](https://forum.dynamobim.com/u/ayakus)\
**Post date:** [March 16, 2018, 3:23pm UTC](https://forum.dynamobim.com/t/get-yes-no-parameter-into-a-shared-parameter/20139/6 "2018-03-16T15:23:38Z")

</div>

Sorry about that I uploaded a new image above.

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [March 16, 2018, 3:42pm UTC](https://forum.dynamobim.com/t/get-yes-no-parameter-into-a-shared-parameter/20139/7 "2018-03-16T15:42:46Z")

</div>

i like to see what happens when you do this:

 ![YES-NO%20ISSUE%203](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/b/fbb861b1a262454d3f1c7c192650454110198ff9.png)

---

<div class="post-metadata">

**Author:** ![ayakus](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@ayakus](https://forum.dynamobim.com/u/ayakus)\
**Post date:** [March 16, 2018, 5:09pm UTC](https://forum.dynamobim.com/t/get-yes-no-parameter-into-a-shared-parameter/20139/8 "2018-03-16T17:09:00Z")

</div>

Tried that and received an error I think because that parameter is set as and angle. Then I tried sending it up the M-FAMILY parameter which is a text string and still nothing. I added a watch box and yes and no is coming out of the string from object node.

 ![YES-NO%20ISSUE%204](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/b/ab2d29538c257bd1208c835c4d0354c2b068ee3a.png)

---

<div class="post-metadata">

**Author:** ![3Pinter](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/3pinter/32/74327_2.png) [@3Pinter](https://forum.dynamobim.com/u/3Pinter)\
**Post date:** [March 16, 2018, 8:44pm UTC](https://forum.dynamobim.com/t/get-yes-no-parameter-into-a-shared-parameter/20139/9 "2018-03-16T20:44:13Z")

</div>

Personally I try to avoid using ‘spaces’, ‘.’, ‘any special character’, ‘-’ in parameter names.

So the issue is that M-RADIUS 1.5x parameter isn’t populated?  
Have you tried populating let’s say the Comments field?

I saw y/n parameter with yes / no output which isn’t right, I believe it’s 1/0 … but afterwards I saw you are using a text-field to get ‘yes’ / ‘no’ as value.

Anyways a simple construction like this works. Is this more or less what you are trying to achieve?

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

---

<div class="post-metadata">

**Author:** ![ayakus](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@ayakus](https://forum.dynamobim.com/u/ayakus)\
**Post date:** [March 19, 2018, 1:08pm UTC](https://forum.dynamobim.com/t/get-yes-no-parameter-into-a-shared-parameter/20139/10 "2018-03-19T13:08:54Z")

</div>

I tried that and it will add a 1 to the comments parameter if only one item is selected. If I try to do all the elbows nothing is populated in the comments parameter. Even if I get 1’s and 0’s I would still need to convert them to yes or no so that we can export this and order the fittings.
