Grasshopper API
GH_ConvertToGHLine_Primary Method |
Converts similar data into a GH_Line instance.
Data is not quaranteed to be duplicated.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static bool ToGHLine_Primary( Object data, ref GH_Line target )
Public Shared Function ToGHLine_Primary ( data As Object, ByRef target As GH_Line ) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert - target
- Type: Grasshopper.Kernel.TypesGH_Line
Target instance. If null, a new GH_Line will be constructed. If not null, the instance values will be set.
Return Value
Type: BooleanTrue on success, False on failure.
