Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to suppress this Save popup.
I've written a C# WPF app (.NET6.0).
I've tried this way, but the Event never fires !
And yes, the "Embed Interop Types" set to NO on the Autodesk.Inventor.Interop reference.
_inventordataService.invApp.ApplicationEvents.OnSaveDocument += AppEvents_OnSaveDocument;
private void AppEvents_OnSaveDocument(_Document DocumentObject, EventTimingEnum BeforeOrAfter, NameValueMap Context, out HandlingCodeEnum HandlingCode)
{
HandlingCode = Inventor.HandlingCodeEnum.kEventHandled;
}
Kind Regards
Johan
Solved! Go to Solution.