RhinoCommon API
InstanceDefinitionTableModifyGeometry Method (Int32, IEnumerableGeometryBase, IEnumerableObjectAttributes) |
Modifies the instance definition geometry and replaces all references
to the current definition with references to the new definition.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool ModifyGeometry( int idefIndex, IEnumerable<GeometryBase> newGeometry, IEnumerable<ObjectAttributes> newAttributes )
Public Function ModifyGeometry ( idefIndex As Integer, newGeometry As IEnumerable(Of GeometryBase), newAttributes As IEnumerable(Of ObjectAttributes) ) As Boolean
Parameters
- idefIndex
- Type: SystemInt32
The index of the instance definition to be modified. - newGeometry
- Type: System.Collections.GenericIEnumerableGeometryBase
The new geometry. - newAttributes
- Type: System.Collections.GenericIEnumerableObjectAttributes
The new attributes.
Return Value
Type: Booleantrue if operation succeeded.

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