Cadastrophic
3rd Mar 2004, 04:44 am
I was sent two macro scripts recently, with the object of turning on the perspective view and then the parallel view.
I made the respective buttons and entered the macros, but when I went to use them, neither worked.
Would one of you kind people in the know please cast your eye over the scripts and see if you can spot where they go wrong?
Thanks in advance.
Perspective on:
$M=$(if,$(and,$(eq,$(getvar,tilemode),0),$(eq,$(ge tvar,cvport),1)),'_3DXProjection,'_3DXProjection _S)
Parallel on:
$M=$(if,$(and,$(eq,$(getvar,tilemode),0),$(eq,$(ge tvar,cvport),1)),'_3DXProjection,'_3DXProjection _P)
I made the respective buttons and entered the macros, but when I went to use them, neither worked.
Would one of you kind people in the know please cast your eye over the scripts and see if you can spot where they go wrong?
Thanks in advance.
Perspective on:
$M=$(if,$(and,$(eq,$(getvar,tilemode),0),$(eq,$(ge tvar,cvport),1)),'_3DXProjection,'_3DXProjection _S)
Parallel on:
$M=$(if,$(and,$(eq,$(getvar,tilemode),0),$(eq,$(ge tvar,cvport),1)),'_3DXProjection,'_3DXProjection _P)