Grasshopper API
GH_ConvertToGeometryBase Method |
Attempt to convert an object into a Rhino.Geometry.GeometryBase instance.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static GeometryBase ToGeometryBase( Object data )
Public Shared Function ToGeometryBase ( data As Object ) As GeometryBase
Parameters
- data
- Type: SystemObject
Data to convert.
Return Value
Type: GeometryBaseA GeometryBase instance on success or null on failure.
