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
    • Recent
    • Tags
    • Users
    • Login

    Dynamic res file values?

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 318 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 13/09/2010 at 15:51, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R12 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :       PYTHON  ;

      ---------
      Hi.

      Is there any way to have a dynamic MAXSLIDER value via python?

      In my res file for real slider in a pytag I have:

        
      REAL MIXAB {UNIT REAL; MIN 1.0; MAX 100.0; CUSTOMGUI REALSLIDER; STEP 0.01; MINSLIDER 1.0; MAXSLIDER 4.0;}   
      

      I guess the res file is read into Cinema at start up as when doing
      an edit of the file and re save it, the changes are not taken in account.

      The idea is to be able to change the MAXSLIDER value from a variable
      while the app is running.

      I've tried to go via the tags basecontainer but no luck atm.

      Cheers
      Lennart

      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 13/09/2010 at 17:02, xxxxxxxx wrote:

        Hi tcastudios,

        unfortunately this is currently not possible in Python. You need the Description class but it's currently not available in Py.

        Cheers, Sebastian

        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 13/09/2010 at 17:16, xxxxxxxx wrote:

          Ah, thanks for letting me know.
          Is the description class a part of C++ ?

          (No plans to go C++, just checking)

          Cheers
          Lennart

          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 13/09/2010 at 17:54, xxxxxxxx wrote:

            Yes, you can handle this via the C++ API.

            Cheers, Sebastian

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