Description:
Deletes the instance definition. This deletes all references too.
Syntax:
Parameters:
- item
- Type: InstanceDefinition
- The item to delete.
Returns:
Type: bool
True on success.
Available since:
6.0
Description:
Deletes the instance definition.
Parameters:
- idefIndex
- Type: int
- zero based index of instance definition to delete. This must be in the range 0 <= idefIndex < InstanceDefinitionTable.Count.
- deleteReferences
- Type: bool
- True to delete all references to this definition. False to delete definition only if there are no references.
- quiet
- Type: bool
- 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.
Returns:
Type: bool
True if successful. False if the instance definition has active references and bDeleteReferences is false.
Available since:
5.0