Preview geometry of custom class output - C#

You’ll need to implement the IGH_PreviewData interface in your goo type.

You can get custom previews either by letting the data draw itself (in which case it pretty much has to be stored inside a Generic or Geometry parameter) or by putting it inside a custom parameter type which is able to understand the data it contains.

See: Preview in Grasshopper