ChangeManager Object
Description
The ChangeManager object manages the processes involved in making changes to data and recording the change process.
Methods
Add |
Method that creates a new collection that will house all of the ChangeDefinition objects to be generated by the corresponding client. The newly created ChangeDefinitions object is returned. |
GetObjectFromScriptKey |
Method that retrieves the object with the specified string. The script key should have been generated using the GetScriptKeyFromObject method and the document should be in the same or similar state as when the script key was generated. |
GetScriptKeyFromObject |
Method that generates a key (identifier) for the input object. This key is suitable to use in constructing the Inputs argument of the OnWriteToScript event on the ChangeProcessor object. This key is only intended to be able to identify the specified object in the current state of the document (this is not a robust persistent reference key). |
Properties
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
Count |
Property that returns the number of items in this collection. |
Item |
Returns the specified object in the collection. |
Parent |
Property that returns the Application object, the parent of the ChangeManager object. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
Application.ChangeManager,
ChangeDefinition.Parent,
InventorServer.ChangeManager,
InventorServerObject.ChangeManager
Version
Introduced in version 9