Author Topic: vlr-sysVarChanged for WordlUCS with inconsitent behavior  (Read 1592 times)

0 Members and 1 Guest are viewing this topic.

Peter2

  • Swamp Rat
  • Posts: 653
vlr-sysVarChanged for WordlUCS with inconsitent behavior
« on: October 16, 2017, 11:55:33 AM »
First time playing around with reactors ...

I use the reactor "vlr-sysVarChanged" to watch the sysvar "WordlUCS" - it sets a red background if "WorldUCS=0", set black background if not.

As shown in the  attached screencast it works - or works not, depending on the command which causes the reset to "World".  Right-click on UCS-symbol plus menu "world" just set it to world, but the reactor does nothing. The other ways to reset work fine ..

https://www.screencast.com/t/HaKVARHZ

Any ideas?
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: vlr-sysVarChanged for WordlUCS with inconsitent behavior
« Reply #1 on: October 16, 2017, 03:34:38 PM »
Have you checked these related variables?:
UCSORG
UCSXDIR
UCSYDIR

Peter2

  • Swamp Rat
  • Posts: 653
Re: vlr-sysVarChanged for WordlUCS with inconsitent behavior
« Reply #2 on: October 16, 2017, 03:50:36 PM »
@roy_043

no, I didn't check it. The have a relation with view / camera / display, but do they have something to do which the reactor?
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23

Rod

  • Newt
  • Posts: 185
Re: vlr-sysVarChanged for WordlUCS with inconsitent behavior
« Reply #3 on: October 16, 2017, 05:41:37 PM »
Hi Peter,
are you willing to share what you have done so far?
Looks promising
"All models are wrong, some models are useful" - George Box

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: vlr-sysVarChanged for WordlUCS with inconsitent behavior
« Reply #4 on: October 17, 2017, 03:56:39 AM »
@roy_043

no, I didn't check it. The have a relation with view / camera / display, but do they have something to do which the reactor?
They obviously have something to do with the UCS. My thinking is that you could additionally monitor these variables.

Peter2

  • Swamp Rat
  • Posts: 653
Re: vlr-sysVarChanged for WordlUCS with inconsitent behavior
« Reply #5 on: October 19, 2017, 04:24:49 AM »
Thanks for the help - it works now. It was a (stupid) error on another place in the code.
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23