When I try to run this code:
(VLA-SAVE (VLA-ITEM (VLA-GET-DOCUMENTS (VLAX-GET-ACAD-OBJECT)) 1))
or
(VLA-CLOSE (VLA-ITEM (VLA-GET-DOCUMENTS (VLAX-GET-ACAD-OBJECT)) 1))
where the item returned from the vla-item routine is an inactive, but open drawing I get the following message:
INTERNAL ERROR: VL namespace mismatch
and I have to close AutoCAD using Windows Task Manager.
The VLA-SAVE and VLA-CLOSE commands work with an inactive, open, but empty drawing, so why doesn't it work with the ones that have data in them?
Thanks,
J Leavitt