# Dynamo doesn't write to parameter

**URL:** <https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741>\
**Category:** Revit\
**Created:** [April 12, 2019, 8:21am UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741 "2019-04-12T08:21:09Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![mee](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mee](https://forum.dynamobim.com/u/mee)\
**Post date:** [April 12, 2019, 8:21am UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741/1 "2019-04-12T08:21:09Z")

</div>

I’m trying to make Dynamo combine multiple parameters into one new text parameter.

We have used the excact same procedure for another revit family which worked fine, but when I try to do the same on this family it doesn’t work.

Everything looks fine in the script - when I look in the white text boxes under the nodes everything looks perfect.

What last step am I missing to make it write to the parameter? 🙂

![Klip%202](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/f/5f8d5d600a242dee0f4eff4420d9bd7aed8ad2f8.jpeg)

 ![Klip1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/0/f05b026f20c26332ad7381f23997f7ec6049b02a.jpeg)

---

<div class="post-metadata">

**Author:** ![hugo.paalman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hugo.paalman/32/64056_2.png) [@hugo.paalman](https://forum.dynamobim.com/u/hugo.paalman)\
**Post date:** [April 12, 2019, 9:00am UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741/2 "2019-04-12T09:00:10Z")

</div>

What is your input for the elements for the node?

---

<div class="post-metadata">

**Author:** ![mee](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mee](https://forum.dynamobim.com/u/mee)\
**Post date:** [April 12, 2019, 10:59am UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741/3 "2019-04-12T10:59:50Z")

</div>

![Udklip](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/d/cd0078173de8214b848c96cd65a351b647c7241a.jpeg)

---

<div class="post-metadata">

**Author:** ![hugo.paalman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hugo.paalman/32/64056_2.png) [@hugo.paalman](https://forum.dynamobim.com/u/hugo.paalman)\
**Post date:** [April 12, 2019, 11:02am UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741/4 "2019-04-12T11:02:37Z")

</div>

Yeah I meant more what is the element input list haha 😅

---

<div class="post-metadata">

**Author:** ![mee](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mee](https://forum.dynamobim.com/u/mee)\
**Post date:** [April 12, 2019, 11:29am UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741/5 "2019-04-12T11:29:14Z")

</div>

Ok, I’m not sure what that is? Not a big expert in Dynamo 🙂

---

<div class="post-metadata">

**Author:** ![hugo.paalman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hugo.paalman/32/64056_2.png) [@hugo.paalman](https://forum.dynamobim.com/u/hugo.paalman)\
**Post date:** [April 12, 2019, 11:31am UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741/6 "2019-04-12T11:31:38Z")

</div>

The output from your list.filterboolmask

---

<div class="post-metadata">

**Author:** ![mee](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mee](https://forum.dynamobim.com/u/mee)\
**Post date:** [April 12, 2019, 11:34am UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741/7 "2019-04-12T11:34:56Z")

</div>

Thanks. 😄

 ![Udklip2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/e/ae392fd84986e820368810d7114a40d3add30871.jpeg)

---

<div class="post-metadata">

**Author:** ![hugo.paalman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hugo.paalman/32/64056_2.png) [@hugo.paalman](https://forum.dynamobim.com/u/hugo.paalman)\
**Post date:** [April 12, 2019, 11:39am UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741/8 "2019-04-12T11:39:31Z")

</div>

I think you need to change your lacing to longest of the element.setparameterByName.

To change the lacing you need right click on the node and you will see a menu pop up were you can find the lacing options.

I think this will solve the problem and learning Dynamo is proces haha 😉

---

<div class="post-metadata">

**Author:** ![mee](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mee](https://forum.dynamobim.com/u/mee)\
**Post date:** [April 12, 2019, 11:45am UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741/9 "2019-04-12T11:45:08Z")

</div>

It worked! Thank you so much for your help 😄

Is it possible to explain, just shortly, what it actually means to change lacing? Now I know how to do it, but I don’t know what I’m doing or why 😅

---

<div class="post-metadata">

**Author:** ![hugo.paalman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hugo.paalman/32/64056_2.png) [@hugo.paalman](https://forum.dynamobim.com/u/hugo.paalman)\
**Post date:** [April 12, 2019, 11:49am UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741/10 "2019-04-12T11:49:27Z")

</div>

Your input for value was only one object and the input for the elements were more than one object. With setting on auto it will just stop at the first one because you gave him one value but with lacing to longest it will set a value for all the elements you will put in.

You have also lacing cross product and shortest if I were you I would play around with the lacing sometimes to find out how they really work. With this you can make your scripts much more complex!

---

<div class="post-metadata">

**Author:** ![mee](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mee](https://forum.dynamobim.com/u/mee)\
**Post date:** [April 12, 2019, 11:57am UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741/11 "2019-04-12T11:57:40Z")

</div>

Thank you so much 🙂 It’s really appreciated

---

<div class="post-metadata">

**Author:** ![hugo.paalman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hugo.paalman/32/64056_2.png) [@hugo.paalman](https://forum.dynamobim.com/u/hugo.paalman)\
**Post date:** [April 12, 2019, 11:59am UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741/12 "2019-04-12T11:59:09Z")

</div>

No problem at all! people always are willing to help me here so doing something back to people that also need help!😉

---

<div class="post-metadata">

**Author:** ![moraruandrei29](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@moraruandrei29](https://forum.dynamobim.com/u/moraruandrei29)\
**Post date:** [November 2, 2019, 3:44pm UTC](https://forum.dynamobim.com/t/dynamo-doesnt-write-to-parameter/34741/14 "2019-11-02T15:44:02Z")

</div>

@mee Could you please upload the dyn file? I am also trying to write new parameters names and values, but I can’t figure it out. Thanks.
