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

    Is CUSTOMGUI_VECTOR supported?

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 209 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 01/01/2013 at 14:52, xxxxxxxx wrote:

      I'm trying to add a vector gizmo to the subdialog in my tool plugin. But I can't even get it to show up. None the less figure out how to set the values for it.
      Is this dialog gizmo supported in Python?

      R13 example code:

          def CreateLayout(self) :  
          
            bc = c4d.BaseContainer()   
            self.AddCustomGui(1002,c4d.CUSTOMGUI_VECTOR, "my vector GUI",c4d.BFH_SCALEFIT|c4d.BFV_SCALEFIT,10,10,bc)   
        
            return True
      

      If this is supported in Python.
      It would be really great to have a working example.

      Thanks,
      -ScottA

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

        On 01/01/2013 at 15:47, xxxxxxxx wrote:

        i do not think that it is supported for python. some CustomGui do work without being listed 
        as supported, but the VectorGui neither is dispalyed when set in the ressource editor nor 
        when i added it to a dialog ressource file.

        VECTOR IDC_STAMPPAUSE_BITMAPBUTTON
            {
              ALIGN_TOP; ALIGN_LEFT;
            }
        

        here you can find the 'supprted' customdatatypes/guis. i think they have to be implemented in 
        python first, because most of them only work with some input/ouput methods.

        c4d.gui.BaseCustomGui

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