Grasshopper API
GH_ConvertToGoo Method |
Converts an object into Goo. Does not duplicate the data if a lossless conversion is possible.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static IGH_Goo ToGoo( Object data )
Public Shared Function ToGoo ( data As Object ) As IGH_Goo
Parameters
- data
- Type: SystemObject
Data to convert.
Return Value
Type: IGH_GooIGH_Goo instance. If Data is not a null reference this function ALWAYS returns a GOO instance.

This function calls a whole sh*tload of other conversion functions. IT IS SLOW.
