Does anyone have any insight or knowledge regarding viewport's with an ID of 1 (dotted pairs dxf group code 69)?
It is in every layout tab, it can not be deleted, it cannot be selected via grips, though it can have its attributes changed via the properties panel.
Also this viewport will resize itself to the current drawing window area after every command. Note, if you modify its attributed via the properties panel, it will no longer resize itself.
(setq ss
(ssget "_X" '
((0 .
"VIEWPORT") (-4 .
"=") (69 .
1))))
;select selection set "ss"
)
Additionally why is a drawing's database empty when created from acad.dwt?
Running the below command in a brand new drawing created from the default acad.dwt will return an empty selection set.
This does not make much sense, as by default a drawing created from acad.dwt has the following items:
0 Entities in "Model"
1 Viewport in "Layout1"
1 Viewport in "Layout2"
Though, once each "layout tab" has been activated/viewed, the viewports will be included in the database. Use the below command to activate/view each tab.
Thanks in advance,
Matthew H.