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

    EDITNUMBER only accepts 0

    SDK Help
    0
    2
    216
    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
      Helper
      last edited by

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

      On 04/07/2003 at 03:47, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   7.303 
      Platform:      
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      Hi !
      I added several EDITNUMBERs in my GeModalDialog. But these fields don't accept any number other than 0. When I enter a greater or smaller number, a strange ErrorMessage appears when i close the dialog. It says "Please enter a number smaller, greater than or equal to zero".
      Here is the code from my RES-File. The ID value of DUPLI_DUP_DIST_Y_FIELD is 13950.

          
          
            
          EDITNUMBER DUPLI_DUP_DIST_Y_FIELD  
                  { CENTER_V; CENTER_H; SIZE 70, 0; }  
          
      

      I can't explain this behaviour. I appreciate your help very much...

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

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

        On 04/07/2003 at 03:54, xxxxxxxx wrote:

        you need to initialize the field in your plugincode (in your dialog class InitValues method) with i.e. SetReal() (see coffee docs for this).
        Best
        Samir

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