SaveDocument
The SaveDocument notifies the client whenever a document is saved.
Remarks
The notification is made when the standard Save and the Save Copy As commands are invoked. When assemblies are saved this can also cause the dependent documents to be saved and this event is also fired in those cases.
EventNames:
SaveDocument_Pre
SaveDocument_Post
Examples:
SaveDocument_Pre:
Register-InventorEvent -EventName SaveDocument_Pre -Action 'PreSaveDocument'
function PreSaveDocument() {
#Write event code here
}
SaveDocument_Post:
Register-InventorEvent -EventName SaveDocument_Post -Action 'PostSaveDocument'
function PostSaveDocument() {
#Write event code here
}