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
    • Recent
    • Tags
    • Users
    • Login
    The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.

    << Multiple Values>> [SOLVED]

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 301 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 23/09/2015 at 08:28, xxxxxxxx wrote:

      [USERFORM][p]User Information:[/p]Cinema 4D Version:   16 
      Platform:    Mac  ;  
      Language(s) :     C++  ;   
      [p]---------[/p][/USERFORM] Hi, I was wondering how you would go and make a parameter in a GeDialog be listed as "<<Multiple Values>>"  when it is told multiple conflicting values.

      In my case I have a GeDialog parameter that references a value in the currently selected material, if multiple materials are selected than I want to display "<<Multiple Values>>"  if the values aren't equal.  I don't really know where to start, if it's a Message or Command, any advice? And thanks for any help!

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

        On 24/09/2015 at 02:59, xxxxxxxx wrote:

        Hello,

        the concept that a selection of parameters may or may not have the same value is called TriState. You can easily calculate that TriState using the TriState class. Then you can hand over that TriState object to your dialog using the TriState Set functions like SetFloat() etc.

        best wishes,
        Sebastian

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

          On 02/10/2015 at 12:18, xxxxxxxx wrote:

          Thanks!  Exactly what I was looking for.

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