Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Events - OnCloseDocument or OnClose

1 REPLY 1
Reply
Message 1 of 2
Martin60
431 Views, 1 Reply

Events - OnCloseDocument or OnClose

I am currently using the application event OnCloseDocument. I am running my code when BeforeOrAfter = kBefore.   My code runs after the document has been checked in to Vault.   I have been trying to use the Document event OnClose but cannot work out how do so.    I also see DocumentEventsSink but don't understand its purpose.   Where can I find documentation explaining this, preferably with examples?     Regards Martin
Tags (2)
1 REPLY 1
Message 2 of 2
miechh
in reply to: Martin60

Have the same question, see my post here, and also searching for a solution for this. Problem: Save-commands put in this event (OnSaveDocument), will be fired after document has been checked in into the vault, which is undesirable.


Product Design Suite 2024
Inventor 2024 (v 28.20.27200.0000), Vault Basic 2024
Fusion 360
HP Workstation Z4
Intel Xeon 3.4GHz
32GB RAM
Windows 10 Professional (64bit)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report