Click or drag to resize

InstanceDefinitionTablePurge Method

Purges an instance definition and its definition geometry.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.9
Syntax
public bool Purge(
	int idefIndex
)

Parameters

idefIndex
Type: SystemInt32
zero based index of instance definition to delete. This must be in the range 0 <= idefIndex < InstanceDefinitionTable.Count.

Return Value

Type: Boolean
True if successful. False if the instance definition cannot be purged because it is in use by reference objects or undo information.
See Also