Find out about locked axis

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 19/10/2007 at 00:19, xxxxxxxx wrote:

User Information:
Cinema 4D Version:    
Platform:      
Language(s) :   C.O.F.F.E.E  ;

---------
hi,
is there a coffee way to find out if an axis in the gui is locked?

There are toggle commands available
CallCommand(12153); // X-Axis / Heading
CallCommand(12154); // Y-Axis / Pitch
CallCommand(12155); // Z-Axis / Bank
but to be able to conciusly use them I need to find out about
their status.

thanks,
-Michael

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 19/10/2007 at 02:53, xxxxxxxx wrote:

You can use IsCommandChecked and IsCommandEnabled to check a command's state.

example:

if(IsCommandChecked(12153)) println("X on");
else println("X off");

if(IsCommandChecked(12154)) println("Y on");
else println("Y off");

if(IsCommandChecked(12155)) println("Z on");
else println("Z off");

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 19/10/2007 at 04:28, xxxxxxxx wrote:

vielen Dank
-Michael