AECCRUNDYNAMOSCRIPT : How to get input with the run dynamo script command?

Hi all,

We’re starting to like to use dynamo and create a set of tools and commands that are run automaticly when clicked on a toolpalette it launches the “AECCRUNDYNAMOSCRIPT” with the dynamo filepath.

But now we’ve created a Dynamo that needs to have some selections and 2 inputs numbers from the user.

I was wondering how to prompt the users to have those values passed on ?

You can use the Data-Shapes package

Sounds like a good idea
I’ve seen that in action on a video and in revit

So if i don’t have that package installed it wont work ?

How do i deploy packages out through all a team ?

I think i’ve found some interesting stuff in deployement :
https://www.autodesk.com/autodesk-university/class/Deploying-Dynamo-Your-Company-Getting-Everyone-Node-and-Code-2020

AeccRunDynamoScript does not support command line inputs at this time. Your best bet is to vote for this card on the roadmap :slightly_smiling_face:

https://portal.productboard.com/aec-bid/3-civil-infrastructure-public-roadmap/c/668-easier-sharing-and-running-of-dynamo-graphs-?&utm_medium=social&utm_source=share

3 Likes

The easiest way to deploy packages is to build a tool using your preferred automation components such as batch files (.bat), executables (.exe), Python scripts (.py) or even dynamo graphs. The automation contained therein should copy the contents of a network drive to the user’s appdata folder for their Dynamo versions. The network drive should include a set of packages for each Dynamo environment (i.e. each new release of Dynamo Sandbox, Dynamo for Revit, Dynamo for Civil 3D, etc.). Ensure the packages fully support the Dynamo release they are associated to - test them out.

There are multiple ‘gotcha’ issues with the automation which will quickly surface when you work out the specifics in your environment.

Once you have the script set up, add the tooling for users to call it directly from the network location you keep it on, and modify the user’s login script to run the automation as part of your GPL or otherwise ensure that the content is not only moved/updated on demand but also pushed periodically so the tools are there before they are needed.

Your IT team will be a required partner in this as only they are in position to execute on the above. Don’t bother trying to mange it on your own - this is a task which should take them less than an hour, but it will take you weeks and won’t work for all users without their partnership.

You can also copy your standard graphs over and even modify the DynamoSettings files to ensure things like Dynamo Player see the right directories.

2 Likes

Voted ! Thanx @zachri.jensen

1 Like

Thank you @jacob.small really well explained !

We can do all of that

2 Likes