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)
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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also