Message 1 of 2
Unable to save ... being accessed by another session
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
There are apparently several reasons for AutoCAD to return this error. In each case, something has flagged the drawing as "open". Today, I discovered one reason that may be as elusive to others just as it was to me.
The reason the drawing was flagged as open is that the object assigned to *active-document* by
(SETQ *active-document* (vla-get-activedocument (vlax-get-acad-object)))
(and which could be assigned to another symbol by similar code you may use) had not been released, i.e.,
(vlax-release-object *active-document*)
had not been done executed when the function making use of *active-document* had completed.
This file save error seemed random and was infrequent.
Before this, it had seemed to me that meticulously releasing and reacquiring the document object was excessive. Now, I don't think it is!
AutoCAD User since 1989. Civil Engineering Professional since 1983
Product Version: 13.6.1963.0 Civil 3D 2024.4.1 Update Built on: U.202.0.0 AutoCAD 2024.1.6
27.0.37.14 Autodesk AutoCAD Map 3D 2024.0.1
8.6.52.0 AutoCAD Architecture 2024
Product Version: 13.6.1963.0 Civil 3D 2024.4.1 Update Built on: U.202.0.0 AutoCAD 2024.1.6
27.0.37.14 Autodesk AutoCAD Map 3D 2024.0.1
8.6.52.0 AutoCAD Architecture 2024