To make Dynamo scripts more adaptable to your needs, they can be designed to include labels, parameters, parameter labels, maximum and minimum value ranges, and more.
Ensure that all the script input nodes you want to control in Dynamo Player are configured with the Is Input flag turned on. This includes Select from Alias, Number Slider, Integer Slider, and File Path nodes. Otherwise they cannot be read or displayed by the Dynamo Player.
For more information, see Set up a Dynamo script for Dynamo Player.
Provide useful names of the nodes you expose in Dynamo Player. This makes it easier for the script user to identify the nodes and how they function in the script.
Grouping your input nodes in Dynamo lets you organize how they display in the Script Input section of Dynamo Player. Ungrouped nodes always appear at the top of the Script Inputs section no matter where they appear in the script.
Input nodes display in Dynamo Player in the order they appear in Dynamo starting from the top to bottom. Typically, the Select From Alias nodes should appear at to the top of the script followed by other inputs such as Number Sliders and File Path inputs.
You can set minimum and maximum values for the numeric parameters you expose to Dynamo Player. To do this, expand the slider node and set the desired value ranges. The parameter values that are set when the script is saved in Dynamo, appear as the parameter's default values in Dynamo Player.
For example, if you want to step the slider value by 0.5, create a Code Block node and add this simple function: x*0.5;