I’ve been testing out the new Create Clipping Drawing components in Rhino 9 Grasshopper. However, I noticed that the drawing output doesn’t behave the same between Rhino and Grasshopper.
If created manually in Rhino, the drawing is created as a block which, when double-clicked, opens the Edit Clipped Drawings window for changes/updates.
However, when the drawing is created from Grasshopper, it creates a ‘static’ block. Updating the Rhino model doesn’t update the section even if ‘Update Drawings’ is run. Of course, you can run Grasshopper again to recreate the drawing, but that isn’t ideal.
That’s a limitation rather than a bug. The Grasshopper component makes a regular block from the drawing, it isn’t registered with Section Tools like a drawing made by the ClippingDrawings command, so UpdateClippingDrawings and the clipped drawing editor don’t see it. The update happens on the Grasshopper side instead, set the component’s Update input to True (or use its Update button) and the drawing is rebuilt whenever the definition recomputes from your model changes.
@AndyPayne will there be a way to register this with a baked clipping plane as well?
The difficult part is that right now, the Grasshopper component lets you create clipping drawings with clipping planes that don’t exist in the Rhino document (so clipping planes created natively in GH). Because of this, these clipping planes have no document ID that can be added to the block so that the Clipping Drawings dialog could recognize it. Rajaa and I are currently trying to unify the two different versions (the Rhino command vs the GH component) so it might be something we can try to add if the clipping plane has a reference ID. As you suggested, the current work around is to regenerate the drawing (which can be made to happen automatically on any GH change) and use a Content Cache to always keep the block in the Rhino document up to date (which can also update automatically)