Play a script in Dynamo Player
Watch the video or follow the steps below for information about playing a Dynamo script in Dynamo Player.
Related video
- Load the script
Launch Dynamo Player from the Transform tool palette by clicking the Dynamo Player icon
or by right-clicking the Transform tab, and then selecting Dynamo > Dynamo Player.
Load a script in Dynamo Player by doing one of the following:
Click
, and then in the Dynamo Toolbox, click the icon of the script you want to load.
If the script you want to run is not available in the Dynamo Toolbox, click the browse icon
, then navigate to the location of your Dynamo scripts.
- Select geometry for the script
After the script loads, note the following:
In the Selection Filter section, the selection filter is activated for the script's first input. If the geometry type of the input is Unspecified, you need to select the appropriate Selection Filter.
In the Script Input section, the names of each input and the input types defined by the script are displayed.
Names and controls for the script parameters are also displayed.
For each input, select the geometry you want to use with the script by doing the following:
In the viewport, select the geometry for the first input.
Note: Turn on Selection Sets if you want to use input geometry that is a member of a selection set, and then continue with the input selection.Select the appropriate geometry in the order the inputs appear in Dynamo Player. If you want deviate from the input order, click the Select button beside the input name before selecting the geometry.
Tip: If you are selecting multiple CVs as an input, use Shift + MMB to chain-select a row of CVs.Press the spacebar or click Accept.
The name of the object now displays beside the input name indicating that the object was successfully selected.
Repeat these steps for each script input.
After selecting geometry for all the inputs, press the spacebar or click Build to execute the script.
- Adjust the script parameters
Use the available parameter controls to modify input values then click Update to rerun the script and see the results.
Turn on Auto Update to have the output of the script update automatically when the parameter values are modified.
When Auto Update is on, scripts will automatically execute when loaded if they require only a single input and you preselect the geometry.
Note: The minimum and maximum value range can only be modified by editing the script in Dynamo. See Customize scripts for Dynamo Player.Click Undo All to revert the script execution and reset Dynamo Player to the pre-selection state.