Autocad R14, like higher Autocad versions, opens a file at the last view shown, either in modelspace or in the last shown layout.
If opened in modelspace,
in all versions, when the "TILEMODE" variable is set to "0", Autocad switches to the
last edited layout.
I have a file with 2 layouts, one called "P" and one called "B".
As an experiment, I saved the file in R14 format from a higher version
twice.
One when layout "
P" was last accessed, and one with "
B" last accessed.
I then opened each in Autocad R14 and then set the "TILEMODE" variable to "0"
(which is the only way for Autocad R14 to switch to paperspace from modelspace).
In each file I arrived at the appropriate layout - "
P" in the first file and "
B" in the second file.
(When reopened in Autocad 2000, etc. both layouts are normally accessible
Autocad R14 doesn't trash the existing dictionary structure, it just doesn't read some of it).
Layouts are stored in a dictionary structure,
and I can access and change dictionary objects in Autocad R14 without Visual Lisp.
I can get the dxf list of each layout and modify it with (entmod ...)
My problem is where is "
the last accessed layout name" stored in the dwg file structure?
If it's somewhere in the dictionary structure, I can change it from inside Autocad R14 using plain autolisp.
I thank you all for your attention and patience with my obscure problem on an obsolete version.