iLogic (OnSaveEvent) in combination with Vault API from wihtin Inventor add-in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear all,
I have an Inventor add-in which uses the Vault API to AcquireFiles. The model which is downloaded and checked out from Vault has been modified in Vault. Because of that the AcquireFiles method of the Vault API is updating the references in the local files. This is normal behavior, but it seems the OnSaveDocument event is triggered as well during this process. The documents of which the references are updated seem to be opened 'hidden' in Inventor during the AcquireFiles process.
The model contains iLogic code which is triggered through Event Triggers within the document(s). Is there a way to get to know a document is opened 'hidden'? What should I add to my iLogic code to ensure the AcquireFiles process will not trigger any iLogic rules by the OnSaveDocument event?
Thanks in advance for your help!