Click or drag to resize

GH_ConvertToCurve_Primary Method

Performs a direct cast from OnCurve or GH_Curve. Data is not quaranteed to be duplicated.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static bool ToCurve_Primary(
	Object data,
	ref Curve rc
)

Parameters

data
Type: SystemObject
Data to convert
rc
Type: Curve

Return Value

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