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

    Question related to groups

    Scheduled Pinned Locked Moved PYTHON Development
    7 Posts 0 Posters 585 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 25/12/2014 at 22:55, xxxxxxxx wrote:

      Hi,

      Are nested groups using GroupBegin allowed .

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

        On 26/12/2014 at 07:55, xxxxxxxx wrote:

        Hello,

        you can use nested groups using GroupBegin()[URL-REMOVED]. You find some nested groups in the C++ example AsyncDialog.

        Best wishes,
        Sebastian


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

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

          On 29/12/2014 at 03:29, xxxxxxxx wrote:

          Hi,

          In my plugin i need to have various tabs which i am doing by tabGroupBegin(). Inside it whenever I do a GroupBegin() a new tab is added.
          Now in each tab i need a different layout of buttons and other components. For that i need to add groups inside a group. But whenever I am following tabGroupBegin -> groupBegin -> groupBegin  (nested group begins) , it is not acting as expected . So how can i do that.

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

            On 29/12/2014 at 08:04, xxxxxxxx wrote:

            Do you call GroupEnd() when you're done with a group?

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

              On 29/12/2014 at 19:55, xxxxxxxx wrote:

              Yes.

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

                On 02/01/2015 at 06:01, xxxxxxxx wrote:

                Hello,

                something like this is possible:

                  
                      self.TabGroupBegin(9999,c4d.BFH_LEFT)  
                  
                      self.GroupBegin(id=0, flags=c4d.BFH_SCALEFIT|c4d.BFV_SCALEFIT, cols=30, rows=1, title="Tab A", groupflags=0)  
                  
                      # subgroup  
                      self.GroupBegin(id=10, flags=c4d.BFH_SCALEFIT|c4d.BFV_SCALEFIT)  
                        
                      # suff in this group  
                        
                        
                      self.GroupEnd()  
                        
                      self.GroupEnd()  
                  
                      self.GroupBegin(id=1, flags=c4d.BFH_SCALEFIT|c4d.BFV_SCALEFIT, cols=30, rows=1, title="Tab B", groupflags=0)  
                  
                      # stuff in this tab  
                  
                      self.GroupEnd()  
                  
                      self.GroupEnd()  
                

                What exactly is "not acting as expected" ?

                best wishes,
                Sebastian

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

                  On 05/01/2015 at 01:04, xxxxxxxx wrote:

                  Hi,

                  I am looking into it. Will update you after some time.

                  Thanks.

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