I have a quick problem for anyone who can help me at the moment,
I have this:
(setq Drawing (ssget "_X" '((410 . (getvar 'CTAB)))))
and am getting this:
Application Error: 0 :- bad SSGET list value
I have tried this:
(setq Drawing (ssget "_X" (list (cons (410 . (getvar 'CTAB))))))
but have received this error:
Application Error: 0 :- bad function: 410
My main purpose here is to select all items on the current tab. so if the artist went and put the entire drawing in paperspace so they don't have to deal with a viewport, I need to select the items on that tab (usually 'layout' but not always).
What is your suggestion for selecting everything on the current tab (be it Model or Layout or Border or whatever the name)?
Thanks.