Grasshopper API
GH_ConvertToDouble_Primary Method |
Performs a direct cast from Double or GH_Number.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static bool ToDouble_Primary( Object data, ref double destination )
Public Shared Function ToDouble_Primary ( data As Object, ByRef destination As Double ) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert. - destination
- Type: SystemDouble
Target for value assignment.
Return Value
Type: BooleanTrue on success, false on failure.
