Code:
(terpri)
(foreach var
(list
(list "ANNOMONITOR" . 0)
(list "CMDECHO" . 0)
(list "COORDS" . 2)
(list "CENTERMT" . 0)
(list "DIMADEC" . 8)
(list "DISPSILH" . 1)
(list "EXPERT" . 5); NEW
(list "EXPLMODE" . 1);
(list "FACETRES" . 2)
(list "HIDEPRECISION" . 1)
(list "INTERSECTIONDISPLAY" . 1)
(list "IMAGEFRAME" . 2)
(list "LAYEREVAL" . 0)
;(list "LUNITS" . 4)
(list "LUPREC" . 8)
(list "LWDISPLAY" . 0)
;mleaderscale removed from below modemacro
(list "MODEMACRO" . "$(if,$(eq,$(getvar,pstylemode),0),\"STB DWG\" ,\"CTB DWG\") \" | OsnapZ: \"$(if,$(eq,$(getvar,osnapz),0),\"OFF\" ,\"ON\") \" | Txt S: \" $(RTOS, $(*,$(getvar,TEXTSIZE),8)[, 2, 2])\" | Dim S: \" $(RTOS, $(getvar,DIMSCALE)[, 2, 2]) \" | LTS: \" $(getvar,LTSCALE) \" | OS \" $(getvar,osmode) \" | Profile \" $(getvar,cprofile) \" | Mtext Editor: \" $(getvar,mtexted) \" | CenterMT: \" $(if,$(eq,$(getvar,centermt),0),\"Not Centered\" ,\"Centered\")")
;(list "NAVVCUBEDISPLAY" . 0)
(list "OSNAPZ" . 0)
(list "PDMODE" . 34)
(list "PDSIZE" . 0.25)
(list "SNAPMODE" . 0)
(list "SNAPSTYL" . 0)
(list "SNAPTYPE" . 0)
(list "SOLIDHIST" . 0)
(list "VISRETAIN" . 1)
(list "VISRETAINMODE" . 0)
);list
(setvar (car var) (cdr var))
(princ (strcat (car var) " set to "))
(princ (Getvar (car var)))
(terpri)
);foreach |