Caching Revit Dependant Nodes for Generative Design (Troubleshooting)

Hi All,

I am looking to carry out a generative design of my tower which I have developed by creating a custom node which allows for a parametric snowflake-like shape, constraining a floor height and generating different levels.

I have set the inputs to be the number sliders and the output to be a Solid.Volume node.

The issue I keep having is the need to cache the revit dependant nodes. After going through the generative design primer as well as this forum for when people have similar issues, I can see i need to use the remember and gate nodes, however, I tried retrofitting these nodes for one of the custom nodes and it didn’t seem to help. Do I need to go into the custom node itself and implement these nodes until the error disappears?

Would Appreciate any help in troubleshooting this?

Thanks in advance!

Custom Node:

Example of workflow using Custom Node and error message:

Workflow Overview

1 Like

It looks as if you produced that custom node (.dyf) from the Dynamo for Revit environment or within a package which has a dependency on that environment. The fix is to move that node into a version build by and for Dynamo Sandbox. You can install sandbox (free - just make sure you have Revit installed) from DynamoBuilds.com.

Download the save version as your Revit release (check the about menu), unzip it with 7Zip (or unblock it before extracting) and you’ll see an exe which you can run that gives you the full Dynamo environment less the stuff that needs Revit (so no Revit menu). You can then add the same path to your Revit-GenerativeDesign package folder and build/test Generative Design graphs from there.

THis means you’ll be able to open your custom node and see ‘what isn’t loading’ if it has a Revit depdency, or move it into a new package with no Revit dependency.

1 Like

Yes that fixed it. Thank you very much!

1 Like