01-18-2024
06:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-18-2024
06:03 AM
OK. So, from what I have gathered from that other forum topic, the code you have posted here is not complete yet, and you will be using this code above to run the code routine shown within that other forum post when this event it triggered, by running it between opening and closing the 'active edit document'? It's a bit confusing, but OK. But just so you know, if you have opened a document as not visible, then you can use Document.ReleaseReference instead of Document.Close, then at some point, it may also be good to use ThisApplication.Documents.CloseAll(True), where True specifies to only close all unreferenced documents being held in memory, as a clean-up tool. Good luck.
Wesley Crihfield
(Not an Autodesk Employee)