Click or drag to resize

GH_ConvertGetExtrusionFromDocument Method

Harvest an extrusion object from a Rhino document.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static bool GetExtrusionFromDocument(
	RhinoDoc doc,
	Guid id,
	out Extrusion extrusion
)

Parameters

doc
Type: RhinoDoc
Document to search.
id
Type: SystemGuid
ID of brep object.
extrusion
Type: Extrusion
Extrusion result.

Return Value

Type: Boolean
True on success, false on failure.
See Also