Hi, I just start learning C# to create custom components,
I want to reproduce a custom preview function in C# API,
and I’ve successfully draw curve or other geometries according to this source:
Rhino.Display.CustomDisplay and event handling using Python - Grasshopper (grasshopper3d.com)
But this function runs one-time only, so I can’t undo or remove the display untill I restart the program.
Is it possible to get all custom display class in the document?
or how can I delete or dispose all the previous custom display objects?
Thanks in advance :]