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

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