Click or drag to resize

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)
Syntax
public static bool ToLine_Primary(
	Object data,
	ref Line rc
)

Parameters

data
Type: SystemObject
Data to convert
rc
Type: Line

Return Value

Type: Boolean
An OnLine instance if successful, or Nothing on failure.
See Also