I’m working on an implementation of the Opening class as a Dynamo element. Creating an opening works great - can generate shafts through floors, etc, element binding works a treat. But if the geometry I’m using to derive the opening depends on a floor or other element that is cut by the shaft, I run into a problem - dynamo and revit churn for a bit and then crash, hard.
What I suspect is happening is that in run automatic mode the creation of the shaft registers as a change to the floor element, which triggers a new calculation, which regenerates the opening, which registers as a change to the floor element, which triggers a new calculation… infinite loop and death. Are there any mechanisms to avoid this from a developer standpoint? Do I just have to warn the user to watch out and either not derive the opening geometry from the floor, or at least not rely on “run automatic” in that case? @Zach_Kron @Ian_Keough1 (decided not to bug you on twitter for once :-p)
Also - this forum needs a developer category!