TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Amsterdammed on March 29, 2006, 03:09:48 AM

Title: Prevent MSG box about regen
Post by: Amsterdammed on March 29, 2006, 03:09:48 AM
Hello everybody,

seems I'm chased by sysvars today.

A program i work with does some serious Modelspace Paperspace work. It works fine, but i get no matter what i do with the regenmode sysvar sooner or later at every toggle between the spaces an MSG Box, saying "About to regen --proceed?"
I want to run the program automatically, not to push 100 times the OK button.

Has anybody any Idea how to stop this?

Thanks in  Advance

Bernd
Title: Re: Prevent MSG box about regen
Post by: Jürg Menzi on March 29, 2006, 03:21:42 AM
Set sysvar REGEMODE = 1
Title: Re: Prevent MSG box about regen
Post by: Amsterdammed on March 29, 2006, 04:29:19 AM
Thanks Jurg,

I thought so,too. But than i got confused when it still did not work. After your post i had a closer look and had to see that the sysvar was set to 0 later in the code again, that's why.

Thanks, it works now.

Bernd