Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Description Initial Value [SOLVED]

    ResEdit
    0
    2
    1.1k
    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 11/03/2012 at 03:18, xxxxxxxx wrote:

      User Information:
      ResEdit Version:   R8

      ---------
      Hi,

      i have a rather simple question : there aren't any ways to set a description elements initial value within the res file? something like this :

      REAL MYVALUE { UNIT METER;  MIN = 0;   _DEFAULT = 45  _}
      

      the only way is to do it, is within the plugins class ?

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

        On 17/11/2014 at 12:49, xxxxxxxx wrote:

        Hi,

        Unfortunately, you can't set a default or initial value in the description.  The definition of REAL[URL-REMOVED] does not contain that option.  You have to set the initial value in your code, as there is no good reason for the default value to come from the UI itself.

        Regards,

        Joey Gaspe
        SDK Support Engineer


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

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