View Single Post
  #2 (permalink)  
Old November 12th, 2007, 11:13 PM
Adesu Adesu is offline
Junior Member
 
Join Date: Feb 2007
Location: Indonesia-Tangerang
Posts: 7
Default

Hi Apollo,
Use error handling like this code
Code:
(defun c:test (/ *error* om otm opt)
  (setq *error* myer)
  (setq om (getvar "xxx"))  
  (setvar "xxx" 0)
  (setq otm (getvar "yyy"))
  (setvar "yyy" 1)

  (setq opt (getstring t "\nPress Esc button to test error: "))
  ;*****PUT YOUR MAIN CODE HERE *******
  
  (setvar "xxx" om)
  (setvar "yyy" otm)
  (setq *error* nil)
  (princ)
  )

(defun myer (msg)
  (setvar "xxx" om)
  (setvar "yyy" otm)
  (setq att "*** Resetting system variable has been done ***")
  (princ att)
  )

Quote:
Originally Posted by Appollo View Post
Hi,
I have changed my fieldeval and updatethumbnail system variables to 21 and 0 to help with performance issues in drawings with a lot of attributes and fields. For some reason those keep changing back to their original settings fairly often. They do retain that setting for a little while and at some point change. Any suggestions?
Thanks in advance.
Reply With Quote