You can examine each graph's dependencies in Generative Design in Revit through the Graph Dependencies dialog.
To function in Generative Design in Revit, the Dynamo graph powering a study type may require certain dependencies, such as packages, custom nodes, or external files. The Graph Dependencies dialog provides a quick way to see which packages and other dependencies the graph needs in order to run properly, and it enables you to identify missing dependencies, which you can install in Dynamo.
To access the Graph Dependencies dialog
Go to the Study Options menu in the Create Study dialog and select View Graph Dependencies.
Using the Graph Dependencies dialog
- Packages: Collections of custom nodes that extend Dynamo's functionality.
- Local Definitions: Dynamo-specific files corresponding to local custom nodes and local packages.
- External Files: External documents in the graph space, such as images or text files.
In addition to a name and version, each dependency is accompanied by an icon:
- A checkmark means that the dependency is installed.
- An X means that the dependency is missing and needs to be installed.
- A warning means that there is a version mismatch in the installed dependency. The graph may still run, but if there are issues, try installing the correct dependency version in Dynamo.
Installing missing dependencies
With the Graph Dependencies dialog, you can view dependencies without having to open
Dynamo. Missing dependencies can be installed in
Dynamo. If dependencies are missing, the dialog will include a Fix in Dynamo button to open
Dynamo and install the missing dependencies in the Workspace References extension. You can also access this extension from
Dynamo by going to Extensions Show Workspace References.
- Missing package or mismatched version: In the Graph Dependencies dialog, click Fix in Dynamo. When Dynamo opens, you’ll see a warning dialog about the missing dependencies. In the drop-down, select Install and click Accept. You can also do this in Dynamo from the Workspace References panel under the Extensions menu option. Only install known packages that you trust.
- Missing external file or local definition: Add the missing file in the folder that hosts the Dynamo graph.
After the missing dependencies have been resolved, save the graph in Dynamo, and the Graph Dependencies dialog will refresh to show the updated dependencies.