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

    Combox vs Combobutton?

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 216 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 11/10/2014 at 04:09, xxxxxxxx wrote:

      Hi 🙂

      for Combobox:

      self.AddComboBox(MY_COMMAND, flags=c4d.BFH_LEFT, initw=114, inith=14)
              self.AddChild(MY_COMMAND, 0, "a" ) 
              self.AddChild(MY_COMMAND, 1, "b" )
              self.AddChild(MY_COMMAND, 2, "c" )

      for Combobutton???

      this code not work....

      self.AddComboButton(MY_COMMAND, flags=c4d.BFH_LEFT, initw=114, inith=14)
              self.AddChild(MY_COMMAND, 0, "a" ) 
              self.AddChild(MY_COMMAND, 1, "b" )
              self.AddChild(MY_COMMAND, 2, "c" )

      The combobutton work only whit Resourece editor???

      Thanks!

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

        On 17/10/2014 at 07:44, xxxxxxxx wrote:

        Hello,

        it looks like AddComboButton is currently not supported by the Python API, only AddComboBox[URL-REMOVED] is available.

        Best wishes,
        Sebastian


        [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

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