/DynamoAutomation

Batch-processing of Revit models using Dynamo

Primary LanguageC#MIT LicenseMIT

#DynamoAutomation DynamoAutomation is a package for the Dynamo visual programming environment. It allows Dynamo users to batch process multiple Revit models by driving Revit (and the Dynamo addin) from the outside using the Dynamo sandbox, each time using the same Dynamo workflow, e.g. process an entire folder of models. This opens up a lot of possibilities for achieving a higher degree of automation in labour-intensive areas such as quality control and enforcement of company or project standards.

DynamoAutomation Teaser Video

##Requirements Besides the DynamoAutomation package itself, you will need the following to successfully use DynamoAutomation:

  • Any Dynamo 0.9.x or 1.x build
    • You must not have another version of Dynamo installed on the same machine.
  • Revit 2015 or higher
    • This needs to be an English language version.
  • All folders that contain Revit models or Dynamo graphs (and their respective filenames) must not contain whitespaces.
  • Revit models must not contain any warnings that would pop up when opening the model (e.g. missing linked files etc.).
  • Revit models must not be saved in a Perspective view.

##Known bugs Although initial tests showed DynamoAutomation running smoothly with Dynamo 1.0.0 and Revit 2017 some major bugs have surfaced that are in all likelihood rooted in different behaviour of the Dynamo 1.x Revit addins for Revit 2016 and 2017:

  • DynamoAutomation does not seem to run at all under Dynamo 1.1.0 and Revit 2017 (andydandy74#13)
  • DynamoAutomation only seems to run with slave graphs that are set to Automatic mode under Dynamo 1.0.0 and Revit 2017 (andydandy74#15)

##Installation Guide

  • Make sure to pick the correct version when downloading/installing
    • If you're running Dynamo 1.x use DynamoAutomation 1.0.0 or higher (works with Revit 2016, issues with Revit 2017 as described above)
    • If you're running Dynamo 0.9.x use DynamoAutomation 0.90.3 (works with Revit 2015 & 2016)
  • DynamoAutomation has a dependency on the Clockwork package, but Clockwork is updated more frequently than Dynamo.
    • When installing DynamoAutomation, Dynamo will download and install a version of Clockwork that may not be current anymore.
    • Ater installing DynamoAutomation check the package manager to see if your installed version of Clockwork can be upgraded to a more recent version.

##How to Use DynamoAutomation To get you started, this repository contains a number of sample files for different automation scenarios. If you are looking for more in-depth information, please refer to the DynamoAutomation wiki.

Please note that the sample files have not yet been checked for compatibility with Dynamo 1.x and Revit 2017.

##Updates & Version History Since Dynamo's package manager currently does not (yet) have an update notification infrastructure in place, you may want to follow me on twitter for update notifications. Also, you can find the version history on the wiki.