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

    Showing subchannels by default (customgui)

    SDK Help
    0
    5
    506
    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 02/07/2013 at 04:38, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R12-R14 
      Platform:   Windows  ; Mac  ;  
      Language(s) :     C++  ;

      ---------
      Hi people,

      I'm working on a custom datatype which consists of a slightly modified ImageButton and two comboboxes, which are added as subdescription inside CustomDataTypeClass::_GetDescription(). Now I'm wondering how it is possible to show these subchannels by default like it's done with the Vector datatype. Is there a flag or something?

      Greetings,
      Satara

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

        On 02/07/2013 at 05:39, xxxxxxxx wrote:

        Ok I realized that Vector is a bad example. Because it only uses a subdescription so disabling of subchannels is not possible there. But there should still be the possiblity to change the value of "Show subchannels" programmatically..

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

          On 02/07/2013 at 08:07, xxxxxxxx wrote:

          Ok seems that nowhere in CINEMA subchannels are on by default. I will remove the subdescription and create everything in the custom gui manually similiar to the spline datatype. Thanks anyway!

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

            On 02/07/2013 at 08:15, xxxxxxxx wrote:

            i am not 100% sure in which context you do understand subchannels here (that is why i did delete my first posting), but the alternative subchannel gui is implemented as a separate customgui. you can find an example in the cloth tag.

            ...modules\mocca\clothilde\res\description\clothtag.res	6,00 KB	23.08.2012 19:44:28
            59  VECTOR CLOTH_WIND_DIR     { UNIT METER; CUSTOMGUI SUBDESCRIPTION; STEP 0.1; }
            
            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              On 02/07/2013 at 08:32, xxxxxxxx wrote:

              Thanks for the example. I already checked out the SUBDESCRIPTION customgui, but it doesn't work for me because in my case the comboboxes are the subchannels (the content of the bitmapbutton depends on the comboboxes). If I use SUBDESCRIPTON my custom gui isn't display but only what I add in _GetDescription().

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