Click or drag to resize
InstanceDefinitionTableDelete Method
Deletes the instance definition.

Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
public bool Delete(
	int idefIndex,
	bool deleteReferences,
	bool quiet


Type: SystemInt32
zero based index of instance definition to delete. This must be in the range 0 <= idefIndex < InstanceDefinitionTable.Count.
Type: SystemBoolean
true to delete all references to this definition. false to delete definition only if there are no references.
Type: SystemBoolean
If true, no warning message box appears if an instance definition cannot be deleted because it is the current layer or it contains active geometry.

Return Value

Type: Boolean
true if successful. false if the instance definition has active references and bDeleteReferences is false.
See Also