# Need help with this code block

**URL:** https://forum.dynamobim.com/t/need-help-with-this-code-block/86509
**Category:** Revit
**Created:** [February 23, 2023, 3:41am UTC](https://forum.dynamobim.com/t/need-help-with-this-code-block/86509 "2023-02-23T03:41:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Bamboola](https://avatars.discourse-cdn.com/v4/letter/b/e47774/32.png) [@Bamboola](https://forum.dynamobim.com/u/Bamboola)
#### Post date: [February 23, 2023, 3:41am UTC](https://forum.dynamobim.com/t/need-help-with-this-code-block/86509/1 "2023-02-23T03:41:47Z")

</div>

I wonder if someone could tell me how to get this code block (concatenate), see picture below:

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/8/9855326f0136032513687177431cd33fb81393ea.png)  
Thank you

---

<div class="post-metadata">

### Author: ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)
#### Post date: [February 23, 2023, 3:50am UTC](https://forum.dynamobim.com/t/need-help-with-this-code-block/86509/2 "2023-02-23T03:50:17Z")

</div>

This is a typical code block, so you can type lots of things in it. In this case it is just adding two lists of strings together with a separator. You can do this by making a code block and typing something like this in it:

> variable\_list1 + “\_” + variable\_list2

Once you do, you should see the inputs/outputs change in the code block. In this case the two variables can be a different name, they just imply an input is going to be given to them and used in the code block.

---

<div class="post-metadata">

### Author: ![Bamboola](https://avatars.discourse-cdn.com/v4/letter/b/e47774/32.png) [@Bamboola](https://forum.dynamobim.com/u/Bamboola)
#### Post date: [February 23, 2023, 3:56am UTC](https://forum.dynamobim.com/t/need-help-with-this-code-block/86509/3 "2023-02-23T03:56:10Z")

</div>

Thank you, got it  
👍🏻
