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

    .res COLUMNS?

    Scheduled Pinned Locked Moved PYTHON Development
    7 Posts 0 Posters 652 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

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 23/09/2012 at 04:06, xxxxxxxx wrote:

      I currently have this:

      But would like this:

      Any ideas would be appreciated.

      CONTAINER SweepTaper
      {
      	NAME SweepTaper;
      	INCLUDE Obase;
        
      	GROUP TAPER
      	{
      		COLUMNS 2;
      		BOOL START {}
      		
      		REAL STARTSLIDER 
      		{
      			CUSTOMGUI	REALSLIDER;
      			MIN			0.0;
      			MINSLIDER	0.0;
      			MAX			50.0;
      			MAXSLIDER	50.0;
      			STEP		0.1;
      			UNIT		PERCENT;
      		}
      		
      		BOOL END {}
      		
      		REAL ENDSLIDER 
      		{
      			CUSTOMGUI	REALSLIDER;
      			MIN			0.0;
      			MINSLIDER	0.0;
      			MAX			50.0;
      			MAXSLIDER	50.0;
      			STEP		0.1;
      			UNIT		PERCENT;
      		}
      	REAL GROWTHSCALE 
      		{
      			CUSTOMGUI	REALSLIDER;
      			MIN			0.0;
      			MINSLIDER	0.0;
      			MAX			100.0;
      			MAXSLIDER	100.0;
      			STEP		1;
      			UNIT		PERCENT;
      		}
      		
      	}
      }
      
      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 23/09/2012 at 04:54, xxxxxxxx wrote:

        Seperate the elements by unnamed groups.

        // ...  
          GROUP {  
              COLUMNS 2;  
              // ...  
          }  
          GROUP {  
              // ...  
          }  
        // ...
        

        You could also leave out the latter group.

        -Niklas

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 23/09/2012 at 06:02, xxxxxxxx wrote:

          Thanks Niklas,
          Did you mean like this? I suspect not as it its coming out wrong.

          CONTAINER SweepTaper
          {
          	NAME SweepTaper;
          	INCLUDE Obase;
          	
          	GROUP TAPER
          	{
          	GROUP	{
          		COLUMNS 2;
          		
          		BOOL START {}
          		REAL STARTSLIDER { MIN 0.0; MAX 50.0; STEP 0.1; UNIT PERCENT; CUSTOMGUI REALSLIDER; }
          	}
          	GROUP {
          	
          		BOOL END {}
          		REAL ENDSLIDER { MIN 0.0; MAX 50.0; STEP 0.1; UNIT PERCENT; CUSTOMGUI REALSLIDER; }
          	}
          	REAL GROWTHSCALE { MIN 0.0; MAX 50.0; STEP 1; UNIT PERCENT; CUSTOMGUI REALSLIDER; }
          		
          	}
          }
          
          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 23/09/2012 at 08:54, xxxxxxxx wrote:

            No, I meant this:

            CONTAINER SweepTaper {  
              NAME SweepTaper;  
              INCLUDE Obase;  
              GROUP TAPER {  
                  GROUP {  
                      COLUMNS 2;  
                      BOOL START {}  
                      REAL STARTSLIDER { MIN 0.0; MAX 50.0; STEP 0.1; UNIT PERCENT; CUSTOMGUI REALSLIDER; }  
                      BOOL END {}  
                      REAL ENDSLIDER { MIN 0.0; MAX 50.0; STEP 0.1; UNIT PERCENT; CUSTOMGUI REALSLIDER; }  
                  }  
                  REAL GROWTHSCALE { MIN 0.0; MAX 50.0; STEP 1; UNIT PERCENT; CUSTOMGUI REALSLIDER; }  
              }  
            }
            

            Please note that your symbol-naming does not follow the typical naming conventions.
            See my post in this thread for more information.

            -Niklas

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

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 23/09/2012 at 09:11, xxxxxxxx wrote:

              Thanks Niklas,
              I will have a read over you post on the naming conventions.
              Unfortunately this is this the result of the code above. Seems a little tricky to get this to appear correctly.

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

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 23/09/2012 at 09:37, xxxxxxxx wrote:

                Maybe the SCALE_H; flag (for the group with the 4 elements) will fix this issue. 🙂

                -Niklas

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

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 23/09/2012 at 09:45, xxxxxxxx wrote:

                  Yea I tried that before, and just now, with no luck, comes up with reading .res file error now. Darn it.

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