# How to Test Revit Data Capture

To begin a workflow that uses Revit data, do the following:

1. Create a graph in Dynamo for Revit (aka D4R).
2. Use the common Revit nodes ('Categories', 'Select model element', etc.) to pull information from Revit into Dynamo.
3. 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).&#x20;
4. 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:

1. Save the graph and close Dynamo/Revit.

![](/files/-LrPm4YXHe6QyB23MmVg)

1. Open Dynamo Sandbox and the graph you just created. &#x20;
2. Re-run the graph. Everything upstream will become an unresolved node - bear in mind that the Remember node will retain the cached information.

![](/files/-LrPm4YZQAb-iIqF6s4o)

Now, Generative Design can use the data and geometry from Revit without needing to start Revit in the background each time.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.generativedesign.org/03-hello-gd-for-revit/03-07_using-revit-alongside-gd-for-revit/03-07-03_data-capture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
