Clear custom display when deleting GhPython component

The right way would be to override DrawViewportWires and/or DrawViewportMeshes:

Here an example:

apologies regarding the missing images: the Discourse team mistakenly deleted them…

You can also overrding the __del__(self): and __exit__(self): funtions.

Thanks,

Giulio


Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com

1 Like