Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Find out about locked axis

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 270 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post