Launch Dynamo without opening revit

Hello everyone!

I want to run a Dynamo script without opening a Revit file and wanted to know if this was possible?

Thanks

Hi @alafineur in that case i would try this one here…Release v1.10.0-beta · bvn-architecture/RevitBatchProcessor · GitHub

1 Like

Thanks for your help! Do you think it is possible to automate this task?

yes is what it does…but it actuelly open revit in background with windows task scheduler, run your graph, and close again…

If you don’t need access to Revit api for files you can use an instance of Dynamo Sandbox via DynamoBuilds.com, or the Dynamo CLI to not even see Dynamo. Should run a few orders of magnitude faster as you won’t have to open Revit before opening Dynamo.

2 Likes

Thank you, in the dynamo I want to run I have 2 nodes of the Package “Rhythm”, is this compatible?

Depend on which nodes. The CLI from outside Revit wont’ have access to Revit, any data in a .rvt, or the Revit API. So if the Rhythm nodes don’t use a library which references Revit, you’re good. I’d start with a task that just saves a text document or something similar. Perhaps triggers a UI that says ‘hey it worked’ or something else along those lines.

Here is the Dynamo I want to run, I want to automate the export of a Revit file in NWC, my dynamo works perfectly but now I would like to run it without needing to open revit or dynamo

This requires opening Revit, either headless as is done by the tool linked above by @sovitek above, or in a way that you see Revit.

You cannot access Revit data without opening Revit.

Once again, thank you for your answer!

So I will use BatchRVT, I don’t know if you know why but when I try to run the program I have an error message that appears…

If you can live with open revit startpage, not a project, Birdtools multiplayer can do it as well and will be faster than BVN and have a timer build in as well or just use birdtool batch export models…but not dynamo

3 Likes

ps probably it could work if you setup windows taskscheduler to open revit and have timer setup in multiplayer…havent tried just an idea :wink:

Thanks for your answers! I used Birdtools and now I have the possibility to run my script automatically!

2 Likes