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
)
Public Shared Function ToCurve_Primary (
data As Object,
ByRef rc As Curve
) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert - rc
- Type: Curve
Return Value
Type:
BooleanAn OnCurve instance if successful, or Nothing on failure.
See Also