filtering xdata for a pickset

Dave Zinn

Usenet Archive
Joined
Dec 22, 2003
Messages
3
Reaction score
0
Is there a way to filter xdata for SSGET?

(ssget "X" '((-3 ("SOMETHING"))) worked, assuming that "SOMETHING" is a registered app, but (ssget "X" '((-3 ("ACAD"))) did not. What Im actually trying to filter for is (1000 . "MVIEW").

Or maybe there is a much better method to grab all viewports except the paperspace viewport...

TIA
Dave Zinn
 
(ssget "X" '((0 . "VIEWPORT")(-4 . ">")(69 . 1)))

If you want to restrict the selection to the current layout, then (ssget "X" (list '(0 . "VIEWPORT")(cons 410 (getvar "ctab"))'(-4 . ">")'(69 .
1)))
 

Latest threads

Back
Top