Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Toggle Attribute Manager from Tool to Object Mode and Vice Versa

    Cinema 4D SDK
    r21 python
    2
    4
    692
    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.
    • B
      bentraje
      last edited by

      Posted it in Cineversity but its not possible natively.
      So, hoping to find answers here.

      ===================

      Hi,

      When you select an object, the Attribute Manager (AM) shows the Basic and Coordinate tabs, among others.
      When you switch to a move tool, AM now shows the tools settings.

      I was looking for a shortcut to toggle AM back to the object mode.

      Is there a way around this? Thank you

      P.S. I understand I can create two AM but that clutters my workspace.

      1 Reply Last reply Reply Quote 0
      • B
        bentraje
        last edited by

        I guess an existing reference command would be the Spacebar. When you press it, it toggles between the active tool and selection tool.

        But I am after is toggle the tool mode and object mode. Hope that makes sense.

        1 Reply Last reply Reply Quote 0
        • C4DSC
          C4DS
          last edited by C4DS

          import c4d
          
          def main():
              c4d.gui.ActiveObjectManager_SetObject(c4d.ACTIVEOBJECTMODE_OBJECT, op, 0, c4d.ACTIVEOBJECTMANAGER_SETOBJECTS_OPEN)
          
          if __name__=='__main__':
              main()
          
          1 Reply Last reply Reply Quote 3
          • B
            bentraje
            last edited by

            @C4DS

            Thank you. Works as expected! 🙂

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