cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Run Dynamo Player from Command Line

Run Dynamo Player from Command Line

I love the idea of using Dynamo to automate difficult processes however, the process of running the Dynamo script needs to be automated. If I can run the Dynamo player from the command line and have it use a specific script, that would make it actually usable for my users. Think about how we give access to the different lisp routines we want our users to use. Do we make them load the lisp routine and then run the routine? No. We give them a button on the ribbon or tool palettes, or we tell them what the command line version of the lisp routine is. In Dynamo, they have to run the player, browse for the script, and then run it. It's needs to be easier for the end user to use!

3 Comments
AleksandrPankin
Enthusiast

@BrianHailey, hello.
I answered about the same question "How to put Dynamo script to the button"
https://forum.dynamobim.com/t/how-to-make-a-button-in-civil-3d-for-the-dynamo-for-civil-3d-script/44...

nigel_peters
Autodesk
Status changed to: Implemented

The command AECCRUNDYNAMOSCRIPT will run any dynamo script from the command line, the scripts must not have any user options (for those please user Dynamo Player). The command can also be used in AutoCAD Core Console allowing for batch processing of drawings and other automated tasks.

jdBAM63
Contributor

@nigel_peters   AECCRUNDYNAMOSCRIPT command works and brings up a menu where i can type in a file name, but if I do it in a script, its gets stuck on the "\" character as that in a macro means "wait for user input.  Do you know how to get around that?

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

Submit Idea