Hi Frederick,
re:
> Why does a lower case name result in the toggling whereas an upper case name does not?
>
> It is clearly recognizing "front" because trying "xront" yields an error.
The error when using 'xront' is reported as an invalid function argument in the call to vp.reverseView().
I think the problem is something like one part of the script (the == operator) requires an exact case match with what is returned from viewpanel.mode while the parameter in the function call to reverseView() can tolerate different cases.
Do the scripts at https://moi3d.com/forum/index.php?webtag=MOI&msg=3808.2 do what you wanted?
- Michael
|