How to replace CustomCurveObject within a Custom Grips Plugin?

Hi @rgr,

I found a solution for this by attaching user data to my geometry in the custom grips class NewGeometry(). The Rhino geometry is then converted to my custom geometry during copy/paste/load events by vtable modification.
From what I see in your video, I’d override Draw() in both your custom object and custom grips to draw the annotation marks, most probably through a conduit.

Here an insightful quote by Dale about this topic and two related threads:
(Alternative to C++ vtable modification to promote objects on document load)
(Copy pasting custom rhino mesh object subclasses)

1 Like