Announcements
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynamo Player Inputs: Optional, Defaults and Conditional

Dynamo Player Inputs: Optional, Defaults and Conditional

Dynamo player has improved significantly over the last years, but there are some key options that would make it significantly better when accepting user inputs.

 

Optional:  A toggle similar to the "Is Input" that when toggled does not generate errors if the input isn't set.  Errors are confusing to users, and while I can easily make the script work without an input explaining "this error is ok" makes the script less user friendly.

 

Has Defaults: Allow the specification of an optional default entry if the user doesn't input one.  For example, if the user doesn't specify a file name and path, let me set the file to the project name + date and the path to their downloads folder.

 

Conditional: I suspect the most difficult to implement, but a very powerful tool.  For example I have a script that I want users running regularly, but sometimes they will want to export a report.  I want them only to see the inputs for file path, file name and other file settings AFTER they toggle the boolean node "Export Report?" to true.  This reduces complexity and makes the script more accessible to users.

 

Yes, I know most of this is doable using the Data Shapes package, and its a great package!  However, that level of complexity isn't desirable for a simple script where 80+% of the time no inputs are needed.  Scripts using the Data Shapes package are also harder to test, take longer to write, and the GUI takes longer to pop up for users.

 

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea  

Autodesk Design & Make Report