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

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