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

    Tool controls vs. object controls?

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 350 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 01/12/2004 at 06:48, xxxxxxxx wrote:

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

      ---------
      I have some custom tags. Their UIs are defined using 'CONTAINER' res files. In these files I use PARENTID to logically group related elements, and MIN, STEP and MAX to set the allowable value ranges.
      In the code I override 'GetDEnabling' to provide the control logic regarding which parameters are greyed out.
      This all works fine.

      I also have a custom tool, which has many of the same parameters. Its UI is defined in a 'DIALOG' res file, but I'm having problems replicating the visual grouping (PARENTID doesn't seem to be allowed in DIALOG res files), and I don't know how to grey out elements since GetDEnabling is not available in ToolData (it's defined in NodeData, so it's available to objects, but not tools).

      Obviously this is possible, since e.g. 'Bevel' does it.

      So, what key piece of the jigsaw am I missing?

      Cheers - Steve

      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 03/12/2004 at 18:02, xxxxxxxx wrote:

        Anybody?

        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 05/12/2004 at 03:43, xxxxxxxx wrote:

          Hi Steve,

          do you mean the greying out? This is done for dialog resources with Enable(ELEMENT_ID,Bool not_ghosted);

          HTH
          Katachi

          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 08/12/2004 at 05:09, xxxxxxxx wrote:

            Aha!
            Somehow I'd completely missed that, and this was just the pointer that I needed!

            Thanks Katachi!

            P.S. Did you get the business with the materials parameters sorted out?

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