06-10-2022
07:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
06-10-2022
07:35 AM
Interesting issue. If 'PROJECT_NUMBER' value had not changed from first run to second run, I would think that would be caught by the file exists check. Almost sounds like the kind of thing that a well placed document update/rebuild might have been able to fix, but I'm guessing you have already checked that out. There is a command for clearing iLogic's memory you could try, but it honestly sounds like a long shot if it were to fix anything.
ThisApplication.CommandManager.ControlDefinitions.Item("iLogic.FreeILogicMemory").Execute
And here is the API for clearing Inventor's internal clipboard:
ThisApplication.CommandManager.ClearPrivateEvents
Wesley Crihfield
(Not an Autodesk Employee)