Since the latest update of Revit to version 2018.1, Dynamo Player, which is the powerful scripting tool that installs with Revit, is now even more valuable as a way to automate tasks. You can now adapt Dynamo scripts to better-fit your needs by requesting user input before use. Providing user input directly in the Dynamo Player interface lets customers make project-specific adjustments to scripts without having to know how to use Dynamo.
Applying these improvements in the area of rebar designs in Revit, expanded my imagination and inspiration instantly. And the originally created scripts for the automation of rebar design (such as area reinforcement or complex path reinforcement) are now modified to fit within the new Dynamo Player UI. (As usual, these scripts can be found at the bottom of the post.)
How to setup your script for Dynamo Player
Before seeing the scripts in action, first a few notes:
- Make sure you have installed Revit 2018.1 (obviously). This will automatically update Dynamo to version 220.127.116.116.
- To make your scripts user-friendly in the Dynamo Player, it is advised to rename the input nodes. This can be done simply by double-clicking on the node header and give it the title you want.
- Secondly, if you have input nodes which you don’t want to see in the Dynamo Player, you can simply hide them by unchecking the tick mark next to the “Is Input” property. This property can be found in the contextual menu of each node (right-click on the node to access it.)
- To get the scripts visible in the Dynamo Player list, you need to copy them in the assigned Dynamo Player search folder. This can be changed with the typical folder icons on the Dynamo Player interface.
How does it work in practice?
Now let’s have a look how beneficial Dynamo Player is for the automation of rebar designs. The playlist below shows a few examples. Enjoy watching !
The scripts that are used in the videos above can be downloaded via this link.
Important notice: the scripts need the package BIM4Struc.Rebar to be able to execute the specific commands. Make sure you install the latest version of it in Dynamo.