Automate dynamo


#1

I would like to control dynamo from an external program. The program would need to be able to:
<ul style=“list-style-type: undefined;”>

  • Start dynamo

  • Load a dynamo file

  • Set some parameter values in dynamo

  • Run the dynamo file

  • Read the geometry that was generated

  • Close dynamo
  • (Steps 3 and 5 are somewhat optional as they could also be achieved through reading and writing files. )

    Is this possible? Through an API or through a batch file process.

    Thanks, Patrick

     


    #2

    I suggest it be called Dynamonamo…

    The “Run dynamo, close dynamo, Open dynamo, read geometry” part could probably be done by opening and closing a transaction in revit.


    #3

    This editor is doing strange things. I will try again…

    The program should

    1. Start dynamo
    2. Load a dynamo file
    3. Set some parameter values in dynamo
    4. Run the dynamo file
    5. Read the geometry that was generated
    6. Close dynamo

    (Steps 3 and 5 are somewhat optional as they could also be achieved through reading and writing files. )
    Is this possible? Through an API or through a batch file process.

    Thanks, Patrick


    #4

    Thanks for teh suggesting Joseph. But I am trying to do this from outside all the autodesk ecosystem. I want to do it from a program that I am writing.


    #5

    this is possible, I’m not sure about the simplest way to get it done, but you should look at the tests folder on the github repo, these tests control dynamo , open files, run the graph etc.


    #6

    Hi Patrick!

    It seems i am writing simular solution ))

    Dyno.arcprojects.ru