Grasshopper API
GH_ConvertGetCurveFromDocument Method |
Harvest a curve object from a Rhino document.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static bool GetCurveFromDocument( RhinoDoc doc, Guid id, out Curve crv )
Public Shared Function GetCurveFromDocument ( doc As RhinoDoc, id As Guid, <OutAttribute> ByRef crv As Curve ) As Boolean
Parameters
- doc
- Type: RhinoDoc
Document to search. - id
- Type: SystemGuid
ID of curve object. - crv
- Type: Curve
Curve result.
Return Value
Type: BooleanTrue on success, false on failure.
