Grasshopper API
GH_ConvertToInt32 Method |
Convert data into Int32s.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static bool ToInt32( Object data, out int destination, GH_Conversion conversion_level )
Public Shared Function ToInt32 ( data As Object, <OutAttribute> ByRef destination As Integer, conversion_level As GH_Conversion ) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert - destination
- Type: SystemInt32
- conversion_level
- Type: Grasshopper.KernelGH_Conversion
Level of conversion.
Return Value
Type: Boolean