RhinoCommon API
ObjectTableAddExtrusion Method (Extrusion, ObjectAttributes) |
Adds an extrusion object to Rhino.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)

public Guid AddExtrusion( Extrusion extrusion, ObjectAttributes attributes )
Public Function AddExtrusion ( extrusion As Extrusion, attributes As ObjectAttributes ) As Guid
Parameters
- extrusion
- Type: Rhino.GeometryExtrusion
A duplicate of this extrusion is added to Rhino. - attributes
- Type: Rhino.DocObjectsObjectAttributes
Attributes that will be linked with the extrusion object.
Return Value
Type: GuidA unique identifier for the object.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14