In honor of Autodesk University 2014 this week—with hundreds of people learning Dynamo in Las Vegas—I’d like to share some tips that will help you get more out of your Dynamo. Stay tuned for more in the series.
[0] Hot Keys
[0] |
|
Use F5 to Run the graph… I know. Epic. |
[1] |
|
Hold down ESC to navigate the background geometry preview or use CTRL + G to toggle between geometry and node modes. I personally think ESC is a lot faster to use. |
[2] |
|
Hit ESC once to clear text from the library search box. |
[3] |
|
The usual suspects: |
|
|
[0] |
|
CTRL + C to copy nodes or text. |
[1] |
|
CTRL + N to create a new file. |
[2] |
|
CTRL + O to open an existing file. |
[3] |
|
CTRL + S to save, CTRL + Shift + S to save as. |
[4] |
|
CTRL + V to paste nodes or text. |
[5] |
|
CTRL + X to cut nodes or text. |
[6] |
|
CTRL + Y to redo. |
[7] |
|
CTRL + Z to undo. |
|
[4] |
|
Use CTRL + L to automatically arrange your nodes. |
[5] |
|
Use CTRL + W to make a note. |
[6] |
|
Show or hide the console with CTRL + Shift + ⇧ (or just drag the top edge up or down with your mouse). |
[1] Make Lists
[0] |
|
Use Number Sequence and Number Range. |
[1] |
|
Use range syntax. Now do you get the title?! (From Dynamo, see Help/Samples/Core/CoreRangeSyntax.) |
[2] |
|
Use List.Create. Use a series of these to create nested lists. |
[3] |
|
Use List.Join. This node, different from List.Create, flattens any hierarchy in the resultant list. |
[4] |
|
Use { } in a code block. Remember to include the ; at the end of the line. Nested braces create nested lists. |
[2] Access List Items
[0] |
|
In Dynamo, like in most other programming languages, lists are zero-indexed. So the first item is #0, and the last item is #(total_number_of_items – 1). |
[1] |
|
Use the node List.GetItemAtIndex. |