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

    select dialog window or tab of the tool pallet

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 534 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

      On 12/12/2017 at 06:48, xxxxxxxx wrote:

      Please tell me how to select dialog window or tool palette tab.
      It is not a layout change.
      This is the script I am using now.

        
      CallCommand (170106); // brush   
      CallCommand (170105); // drawing color setting   
      CallCommand (170107); // Swatch   
      CallCommand (170108); // Paint layer   
      CallCommand (17015); // layer manager compact   
      

      In addition to this, I would like to activate the tab of the content browser which has already opened the texture catalog and the tool palette which I converted by arranging it into tab and activated with one active button.
      I changed the name of the tab so I would like to search the dialog window with this name.
      I wonder why we need to do this,
      I am just beginning to use this software, so changing the UI tool is very frequent. So it is very troublesome to change the tool buttons common to the layout.
      Please tell me with the window handles other than pressing the mouse click event.

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

        On 13/12/2017 at 04:05, xxxxxxxx wrote:

        Hi,

        I'm afraid there's no way to select/activate by code a specific window or tab.
        Also the API doesn't give access to palettes and these can't be searched by name.

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

          On 13/12/2017 at 05:00, xxxxxxxx wrote:

          thank you for your answer.
          I will use it together with the mouse click event.

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