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

    Attribute Manager : Tab focus

    SDK Help
    0
    3
    338
    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
      Helper
      last edited by

      On 16/04/2014 at 23:50, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R13 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hello all,

      i am trying to find a way to set the focus to a specific tab from the attribute manager, in case the user
      selects my custom object.

      As a better explanation: if the user selects my custom object , in the attribute manager i want to set the focus to a certain tab. No matter what tab was last selected, if the user clicks my object  in
      the attribute manager, this tab has to be the active one.

      Is there any way to control this from the code of my plugin?

      Thank you!

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

        On 17/04/2014 at 14:08, xxxxxxxx wrote:

        Hi Pia, welcome to this forum.

        The AM itself stores which Tab was last active. Activate a tab and select a different object. The
        same tab will be open which you just had chosen for the other object. There is no way you can
        change this behavior. It would also be extremely inconsistent with the behavior of the AM. If
        a user selects a Tab, we assume he wants to stay at this tab until he selects another one. An
        exception to this is when the last chosen tab is not available on another object. In this case, the
        AM will display the tab that is open by default (which you can specify in the description resource
        by adding DEFAULT 1; in the group).

        Best,
        -Niklas

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

          On 13/05/2014 at 03:49, xxxxxxxx wrote:

          Hi Niklas,

          thanks for the info! at the time i posted the question it was done exactly as you described, by
          using the DEFAULT 1.

          Good, at least now i know that this can t be done 🙂 Thanks again

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