# Commands in Code Block

**URL:** https://forum.dynamobim.com/t/commands-in-code-block/63889
**Category:** Revit
**Created:** [May 12, 2021, 6:49pm UTC](https://forum.dynamobim.com/t/commands-in-code-block/63889 "2021-05-12T18:49:50Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![BIM360-ICE](https://avatars.discourse-cdn.com/v4/letter/b/b5a626/32.png) [@BIM360-ICE](https://forum.dynamobim.com/u/BIM360-ICE)
#### Post date: [May 12, 2021, 6:49pm UTC](https://forum.dynamobim.com/t/commands-in-code-block/63889/1 "2021-05-12T18:49:50Z")

</div>

Dear all,

I want to learn more about how to use commands in Code Block and what a code meaning when I enter to Code Block like: name, num, wsNames,…  
Please help me, where can I find all of them? and how to understand the meaning of these commands

Many thanks for your help!

---

<div class="post-metadata">

### Author: ![Steven](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/steven/32/112504_2.png) [@Steven](https://forum.dynamobim.com/u/Steven)
#### Post date: [May 12, 2021, 7:04pm UTC](https://forum.dynamobim.com/t/commands-in-code-block/63889/2 "2021-05-12T19:04:35Z")

</div>

Start with the Dynamo Primer  
[https://primer.dynamobim.org/07\_Code-Block/7\_Code-Blocks-and-Design-Script.html](https://primer.dynamobim.org/07_Code-Block/7_Code-Blocks-and-Design-Script.html)

---

<div class="post-metadata">

### Author: ![simon\_murphy1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/simon_murphy1/32/101536_2.png) [@simon\_murphy1](https://forum.dynamobim.com/u/simon_murphy1)
#### Post date: [May 12, 2021, 7:11pm UTC](https://forum.dynamobim.com/t/commands-in-code-block/63889/3 "2021-05-12T19:11:21Z")

</div>

[https://www.google.com/url?sa=t&source=web&rct=j&url=https://dynamobim.org/wp-content/links/DesignScriptGuide.pdf&ved=2ahUKEwiJwq3A68TwAhVj9OAKHQdpADMQFjAAegQIBBAC&usg=AOvVaw3aojU2W6QdMBlSA6yon4Dt](https://www.google.com/url?sa=t&source=web&rct=j&url=https://dynamobim.org/wp-content/links/DesignScriptGuide.pdf&ved=2ahUKEwiJwq3A68TwAhVj9OAKHQdpADMQFjAAegQIBBAC&usg=AOvVaw3aojU2W6QdMBlSA6yon4Dt)

The text language of code blocks at one point was called DesignScript. If you search design script language guide pdf on Google you will find a few.

---

<div class="post-metadata">

### Author: ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)
#### Post date: [May 12, 2021, 8:44pm UTC](https://forum.dynamobim.com/t/commands-in-code-block/63889/4 "2021-05-12T20:44:16Z")

</div>

Node to Code is also your best friend. It will convert a node and inputs to a DesignScript codeblock.

---

<div class="post-metadata">

### Author: ![BIM360-ICE](https://avatars.discourse-cdn.com/v4/letter/b/b5a626/32.png) [@BIM360-ICE](https://forum.dynamobim.com/u/BIM360-ICE)
#### Post date: [May 13, 2021, 1:54am UTC](https://forum.dynamobim.com/t/commands-in-code-block/63889/5 "2021-05-13T01:54:57Z")

</div>

Thanks @Steven  
Thanks @simon_murphy1  
Thanks @Nick_Boyts
