Dynamo API Samples

I am looking to run the same multiple dynamo scripts on several different Revit Projects overnight automatically, using C# and the Revit API, I have gotten everything else to work except I can’t find any samples or SDK for the Dynamo API, all I found is this (http://dynamods.github.io/DynamoAPI/) but there are no samples or directions, so I have no idea where to even start to run the dynamo files, I have been looking through others peoples questions on forums and all the answer says just use Dyno (http://tools.prorubim.com/en/dyno/), they are doing what I need to do, so I know it can be done, but there is no way to use Dyno to run the files automatically overnight like I need. I am basically looking for something like the Revit SDK that Autodesk puts out, but for Dynamo.

I have already read through the code on github for Dynamo, which did not help me as I am a self-taught programmer so I could work with the Revit API, I can do a lot with what I do know, but I at least need samples to point me in the right direction, if someone has something or part of something, to at least get me started, that they would be willing to share, I think that would really benefit me and the whole dynamo community, because there is nothing out there that I have found.

@Sharad_Jaiswal @Aparajit_Pratap Can you please help this user?


@adamwitthuhn1945 we have a test harness called RTF that we use to remotely run Dynamo graphs on Revit projects for testing: https://github.com/DynamoDS/RevitTestFramework. You can see how the tests are written for this framework here: https://github.com/DynamoDS/DynamoRevit/tree/Revit2017/test/Libraries. I suppose this is something similar to what you’re looking for?

1 Like

You can’t run a headless Revit, therefore, I use Imaginit Clarity to run Dynamo scripts over night. Works well. http://www.imaginit.com/software/imaginit-utilities-other-products/clarity

You might take a look a “The Building Coder”. He mentioned this in a recent post Idling and External Events for Modeless Access and Driving Revit from Outside. http://thebuildingcoder.typepad.com/blog/2017/05/external-access-to-the-revit-api.html

Best a luck.