How to Test Revit Data Capture
Last updated
Was this helpful?
Last updated
Was this helpful?
To begin a workflow that uses Revit data, do the following:
Create a graph in Dynamo for Revit (aka D4R).
Use the common Revit nodes ('Categories', 'Select model element', etc.) to pull information from Revit into Dynamo.
Add as many Remember nodes to the canvas as you need. These nodes should be placed in between the Revit nodes and the rest of the graph. Make sure the information being passed through is the correct data type (as mentioned in the previous section).
Run the graph so all Revit execute and all the Remember nodes have data passing through them.
You can now Create Study directly from Dynamo for Revit, or run it in Dynamo Sandbox to make sure you have captured all of the data that Generative Design will need to run independently of the Revit process. To do this, follow the next steps:
To do this, follow the next steps:
Save the graph and close Dynamo/Revit.
Open Dynamo Sandbox and the graph you just created.
Re-run the graph. Everything upstream will become an unresolved node - bear in mind that the Remember node will retain the cached information.
Now, Generative Design can use the data and geometry from Revit without needing to start Revit in the background each time.