Grasshopper API
GH_ConvertToMesh_Primary Method |
Performs a direct cast from OnMesh or GH_Mesh.
Data is not quaranteed to be duplicated.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static bool ToMesh_Primary( Object data, ref Mesh rc )
Public Shared Function ToMesh_Primary ( data As Object, ByRef rc As Mesh ) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert - rc
- Type: Mesh
Return Value
Type: BooleanAn OnMesh instance if successful, or Nothing on failure.
