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

    FIELDLIST SIZE DON'T FIT IN UI

    Cinema 4D SDK
    python
    2
    7
    1.2k
    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.
    • P
      pyr
      last edited by

      When displaying the remapping tab on a FIELDLIST the field ui is larger than the layout. At first i thought the issue was the lable of the field because i didn't manage it to create a line break like the falloff field on any effector but it makes no differences at all.
      fieldlist02.PNG

      res:

      GROUP {
                  FIELDLIST GRIDDER_FIELD {  }
              }
      
      
      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by

        Hi @pyr,

        You could define the Parameter SCALE_V to scale it properly.

        FIELDLIST GRIDDER_FIELD { SCALE_V;}

        note that the FIELDLIST resource defined in the falloff tab can be found in resource\modules\objects\description\ofalloff_panel.res

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 1
        • P
          pyr
          last edited by

          SCALE_V
          

          Doesn't change a thing. But i just discovered NEWLINE;

          1 Reply Last reply Reply Quote 0
          • M
            m_adam
            last edited by

            Here With SCALE_V and NEWLINE is working nicely.

            If it's the case also for you could you set your topic as solved?
            Cheers,
            Maxime.

            MAXON SDK Specialist

            Development Blog, MAXON Registered Developer

            1 Reply Last reply Reply Quote 0
            • P
              pyr
              last edited by

              It fits in the UI - but if i switch to remapping the width increase slighty.

              here my complete res file:

              CONTAINER Ogridder {
              
                  NAME Ogridder;
                  INCLUDE Obase;
                  HIDE ID_BASEOBJECT_XRAY;
              
                  GROUP ID_OBJECTPROPERTIES {
              
                      GROUP {
                          DEFAULT 1;  COLUMNS 2;
              
                          REAL GRIDDER_WIDTH  { UNIT METER; MIN 0;}
                          REAL GRIDDER_HEIGHT { UNIT METER; MIN 0;}
              
                          REAL GRIDDER_MIN_CELL_SIZE {MIN 0.0; UNIT METER; }
                          REAL GRIDDER_OFFSET { MIN 0.0; UNIT METER; }
              
                          REAL GRIDDER_BEVEL { MIN 0; UNIT METER;}
                          LONG GRIDDER_BEVEL_SUBDIVS {  DEFAULT 4; MIN 0; MAX 8; STEP 1; }
              
                          LONG GRIDDER_SUBDIVS { DEFAULT 4; MIN 1; MAX 32; STEP 1; }
                          LONG GRIDDER_MODE
                          {
                              CYCLE
                              {
                                  GRIDDER_MODE_VLSI;
                                  GRIDDER_MODE_TRTD;
                              }
                          }
              
                          LONG GRIDDER_ROW    { DEFAULT 4; MIN 1; MAX 1000; STEP 1; }
                          LONG GRIDDER_OUTPUT
                              {
                                  
                                  CYCLE
                                  {
                                      GRIDDER_OUTPUT_MESH;
                                      GRIDDER_OUTPUT_SPLINE;
                                  }
                              }
              
                          LONG GRIDDER_COLUMN { DEFAULT 4; MIN 1; MAX 1000; STEP 1; }
                          BOOL GRIDDER_FLATUV {}
              
                          }
              
              
                      GROUP GRIDDER_GROUP_VARIATION {
              
                          DEFAULT 1;
                          COLUMNS 1;
                          
              
                          REAL GRIDDER_VARIATION_SOURCE { DEFAULT 0; MIN -100.0; MAX 100;  CUSTOMGUI REALSLIDER; STEP 1; UNIT PERCENT; }
              
                          REAL GRIDDER_SUBDIVS_SOURCE { DEFAULT 0; MIN -100.0; MAX 100;  CUSTOMGUI REALSLIDER; STEP 1; UNIT PERCENT; }
              
                          REAL GRIDDER_ROW_VARIATION    { DEFAULT 100.0; MIN 0.0; MAX 100;  CUSTOMGUI REALSLIDER; STEP 1; UNIT PERCENT; }
              
                          REAL GRIDDER_COLUMN_VARIATION { DEFAULT 100.0; MIN 0.0; MAX 100;  CUSTOMGUI REALSLIDER; STEP 1; UNIT PERCENT; }
              
                          REAL GRIDDER_SHADER_DEEP_THRESHOLD { DEFAULT 100.0; MIN 0.0; MAX 100;  CUSTOMGUI REALSLIDER; STEP 1; UNIT PERCENT; }
              
                          BOOL GRIDDER_SHADER_DEEP {}
              
                          SEPARATOR {  LINE; }
              
                          SHADERLINK GRIDDER_SHADER {   }
              
                          SPLINE GRIDDER_VARIATION {    }
              
                          SEPARATOR {  LINE; }
              
                          FIELDLIST GRIDDER_FIELD { SCALE_V; NEWLINE; }
              
                       }
              
              
                      }
              
              
              }
              
              
              1 Reply Last reply Reply Quote 0
              • M
                m_adam
                last edited by m_adam

                Unfortunately, this issue is also present in our Falloff tab so I guess it's a more general bug.

                I've opened a new bug report.

                Cheers,
                Maxime.

                MAXON SDK Specialist

                Development Blog, MAXON Registered Developer

                1 Reply Last reply Reply Quote 0
                • M
                  m_adam
                  last edited by m_adam

                  While the bug is still there I set the topic as solved. I will bump the topic once the fix is in a release.

                  Cheers,
                  Maxime

                  MAXON SDK Specialist

                  Development Blog, MAXON Registered Developer

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