How to collect all setvar

Discussion in 'AutoCAD' started by Adesu, Dec 30, 2004.

  1. Adesu

    Adesu Guest

    I've got idea from

    (setq ARCTACADVAR
    (mapcar (function (lambda (key) (cons key (getvar key))))
    '("aperture" "blipmode" "cmdecho" "cecolor"
    "highlight" "clayer" "orthomode" "osmode"
    "pickbox" "snapang" "snapang" "plinewid"
    "expert" "ctab" "cvport" "attmode" "attreq"
    "attdia" "filedia" "texteval" "snapmode"
    "textstyle" "dimtxt" "angbase" "cmddia"
    "hpname" "hpang" "hpscale" )))

    Now I want to collect alls setvar from "ACADLSPASDOC" "ACADPREFIX" to
    "XREFCTL" "ZOOMFACTOR",this code like this

    _$ (setq setvaractive (getvar ?????)) >>>the value of setvar don't put in
    (threw a way)

    ("ACADLSPASDOC" "ACADPREFIX"......"XREFCTL" "ZOOMFACTOR"))
     
    Adesu, Dec 30, 2004
    #1
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.