InstanceDefinitionTable.ModifyGeometry Method (Int32, IEnumerable(GeometryBase), IEnumerable(ObjectAttributes))

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
)
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: Boolean
true if operation succeeded.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also