Click or drag to resize
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) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public bool ModifyGeometry(
	int idefIndex,
	IEnumerable<GeometryBase> newGeometry,
	IEnumerable<ObjectAttributes> newAttributes
)

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: Boolean
true if operation succeeded.
See Also