# How to combine the two parameter..?

**URL:** <https://forum.dynamobim.com/t/how-to-combine-the-two-parameter/11250>\
**Category:** Lists-Logic\
**Tags:** revit, dynamo, list-filter\
**Created:** [April 24, 2017, 10:06am UTC](https://forum.dynamobim.com/t/how-to-combine-the-two-parameter/11250 "2017-04-24T10:06:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baiju\_John](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/baiju_john/32/24735_2.png) [@Baiju\_John](https://forum.dynamobim.com/u/Baiju_John)\
**Post date:** [April 24, 2017, 10:06am UTC](https://forum.dynamobim.com/t/how-to-combine-the-two-parameter/11250/1 "2017-04-24T10:06:00Z")

</div>

Dear all,  
Could you please help in this matter, i tried to combine the parameter to one single parameter but its not working for me. I saw the post from Jonathan\_Roy; same thing followed. Those parameters are shared parameters (Project Number and Sheet Number)  
I need those parameter combined in Drawing No.

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/c/6c5e13385085946944bceaa5c1bc2f6dea32a459.png)

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/a/7ae5a778d3184d8b3208f68f034c9ed07faf7aea.png)

Thanks

---

<div class="post-metadata">

**Author:** ![rexfrancojesse](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rexfrancojesse/32/24664_2.png) [@rexfrancojesse](https://forum.dynamobim.com/u/rexfrancojesse)\
**Post date:** [April 24, 2017, 10:13am UTC](https://forum.dynamobim.com/t/how-to-combine-the-two-parameter/11250/2 "2017-04-24T10:13:25Z")

</div>

Try concatenating first the list before you plug it in to the value of your setparameterbyname node.  
 ![](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/3X/1/9/19087bf0c83b23fc5d179b310e37c9763c09517d.png)

---

<div class="post-metadata">

**Author:** ![Baiju\_John](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/baiju_john/32/24735_2.png) [@Baiju\_John](https://forum.dynamobim.com/u/Baiju_John)\
**Post date:** [April 25, 2017, 7:25am UTC](https://forum.dynamobim.com/t/how-to-combine-the-two-parameter/11250/3 "2017-04-25T07:25:24Z")

</div>

i tried but its not working

---

<div class="post-metadata">

**Author:** ![jostein\_olsen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jostein_olsen/32/8570_2.png) [@jostein\_olsen](https://forum.dynamobim.com/u/jostein_olsen)\
**Post date:** [April 25, 2017, 8:27am UTC](https://forum.dynamobim.com/t/how-to-combine-the-two-parameter/11250/4 "2017-04-25T08:27:03Z")

</div>

Will this work for you?

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/c/5c10f6f378f4d470454976b19ef79cff4fe52da3.png)

---

<div class="post-metadata">

**Author:** ![rexfrancojesse](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rexfrancojesse/32/24664_2.png) [@rexfrancojesse](https://forum.dynamobim.com/u/rexfrancojesse)\
**Post date:** [April 25, 2017, 8:28am UTC](https://forum.dynamobim.com/t/how-to-combine-the-two-parameter/11250/5 "2017-04-25T08:28:33Z")

</div>

Can you share with us the problem? I have tried the same method and its working well. See below. Thanks.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/6/06c7ffadccfcdcd7cfce854b3fbac26b11255b04.PNG) ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/8/9842598f8bd82c29cdf87835cf4944ec001e0475.png)

---

<div class="post-metadata">

**Author:** ![Baiju\_John](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/baiju_john/32/24735_2.png) [@Baiju\_John](https://forum.dynamobim.com/u/Baiju_John)\
**Post date:** [May 8, 2017, 10:21am UTC](https://forum.dynamobim.com/t/how-to-combine-the-two-parameter/11250/6 "2017-05-08T10:21:16Z")

</div>

i don’t know how you got the second line with code block

---

<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:** [May 8, 2017, 11:15am UTC](https://forum.dynamobim.com/t/how-to-combine-the-two-parameter/11250/7 "2017-05-08T11:15:32Z")

</div>

@Baiju_John I would suggest you go through the basics of Code Block. Here is an Overview about Code Blocks  
[http://dynamoprimer.com/en/07\_Code-Block/7\_Code-Blocks-and-Design-Script.html](http://dynamoprimer.com/en/07_Code-Block/7_Code-Blocks-and-Design-Script.html)
