filtering xdata for a pickset

Discussion in 'AutoCAD' started by Dave Zinn, Jan 20, 2004.

  1. Dave Zinn

    Dave Zinn Guest

    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
     
    Dave Zinn, Jan 20, 2004
    #1
  2. Dave Zinn

    John Uhden Guest

    (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)))
     
    John Uhden, Jan 20, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.