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

    Which description tab is active

    SDK Help
    0
    4
    377
    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 18/05/2015 at 11:16, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R16 Stud 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Does anyone know how to detect which tab is currently visible in my tool's attribute manager? I have the four tabs (defined in myplugin.res) and I need to know which one the user is currently viewing.

      The plugin is based on DescriptionToolData.

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

        On 18/05/2015 at 11:18, xxxxxxxx wrote:

        I guess this is not possible as the user may open multiple attribute managers

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

          On 18/05/2015 at 22:33, xxxxxxxx wrote:

          Good thought. Thanks. Will change design accordingly.

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

            On 19/05/2015 at 06:52, xxxxxxxx wrote:

            Hello,

            as Mohamed said, there could be multiple Attribute Managers. Each manager may display the object in question differently; the current state of tabs and groups is just stored internally in the manager and not accessible to the object. See also this thread:

            DTYPE_GROUP unfolded

            best wishes,
            Sebastian

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