ANNOALLVISIBLE need REGEN to take effect
Hi.
when I change the ANNOALLVISIBLE status,
I need to use REGEN to get the resault...
dose anyone have any idea why?...
thanks,
Ari.
when I change the ANNOALLVISIBLE status,
I need to use REGEN to get the resault...
dose anyone have any idea why?...
thanks,
Ari.
0
Comments
-
Hello,
I noticed you filled in a support request on the website and you have an answer there. Thank you.
Have a nice day!0 -
@patricia.cristescu@hexagon.com
Hi.
yes,thanks.
I first posted it here and after a while I filled out a support request and the support team did reply and is looking into it.
for the meantime I'm using a lisp to over come this issue - see below:
defun c:ANNOALLVISIBLE_TOGGLE (/ a)
(setvar "CMDECHO" 0)
(setq a (getvar "ANNOALLVISIBLE"))
(if(= a 0)
(SETVAR "ANNOALLVISIBLE" 1)
(SETVAR "ANNOALLVISIBLE" 0)
)
(setq a (getvar "ANNOALLVISIBLE"))
(princ (strcat "\nThe value of ANNOALLVISIBLE is:" (vl-princ-to-string a)))
(vlax-get (vla-get-activedocument (vlax-get-acad-object))
(if (= (getvar 'cvport) 1)
(command "REGEN")
)
)
(setvar "CMDECHO" 1)
(princ)
)0