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)
Since: 5.0
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:
Booleantrue if operation succeeded.
See Also