🔵

Gathering User Input Using Dynamo Player

Setting Up User Inputs

If your Dynamo Script requires inputs from your users, you must prepare the script by specifying the nodes whose values will be offered as inputs when the script is run:

  • Open the script in Dynamo.
  • Right-click the nodes whose values will be offered as an input, then select Is Input from the contextual menu to turn on the checkmark.
  • Make sure that any nodes that you do not want to offer as inputs have the Is Input checkmark turned off.

What Types of Dynamo Nodes Can Be Used As Inputs?

Many type of Dynamo nodes that collect values can be set up to serve as in input in Dynamo Player.  For example:

  • Sliders
    • Number Slider
    • Integer Slider
  • Input Boxes
    • Number
    • String
  • Toggles
    • Boolean
  • Selection Nodes
    • Select Model Element
    • Select Model Elements
    • Categories
    • Element Types
    • File Path
    • Directory Path
    • Levels
    • Views

The easiest way to verify if a node can be used as an input in Dynamo Player is to right-click on the node, then see if the Is Input option is visible in the contextual menu.

What Types of Dynamo Nodes Can Be Used As Outputs?

The most common node to use an output for Dynamo Player is the Watch node.

To set up a node as an output, right-click on the the node, then turn on the Is Output checkmark in the contextual menu.