ObjectTable.AddExtrusion Method (Extrusion, ObjectAttributes)

ObjectTableAddExtrusion Method (Extrusion, ObjectAttributes)

Adds an extrusion object to Rhino.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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: Guid
A unique identifier for the object.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also