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

    Parameter Scaling Interaction

    SDK Help
    0
    3
    432
    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 03/03/2003 at 16:36, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.012 
      Platform:   Windows  ; Mac  ;  Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      As the user changes a parameter and holds down the shift key I would like to cause the change in value to be 500% greater than normal. The idea is that I want to take the delta change ( I can only evaluate for that within the SetDParameter where I can access the new value and the old value ) and scale it ( or run some arbitrary function on it ) and set the parameter value to the newly created value by the amazing and wonderful widget function. I thought originally that I could set the parameter value in the container in the SetDParameter. Then I realized that the const GeData is what C4D uses to set the parameter to after it leaves the function. Since it is a const I cannot change what the current value will be in SetDParameter. Need info please.

      bt

      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/03/2003 at 23:36, xxxxxxxx wrote:

        That is not possible. If you want this level of control you'll have to implement a CustomGuiData with this feature. (This wouldn't be too hard, but you'll have to dig quite deep into the world of custom GUIs and datatypes. The actual implementation would just be a normal edit field. Though I haven't checked if it's possible to change the value during a drag as you describe.)

        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 05/03/2003 at 15:44, xxxxxxxx wrote:

          Actually got it to work. Pretty cool. Thanks for your thoughts though.

          bt

          > Quote: Originally posted by Mikael Sterner on 04 March 2003
          >
          > * * *
          >
          > That is not possible. If you want this level of control you'll have to implement a CustomGuiData with this feature. (This wouldn't be too hard, but you'll have to dig quite deep into the world of custom GUIs and datatypes. The actual implementation would just be a normal edit field. Though I haven't checked if it's possible to change the value during a drag as you describe.)
          >
          >
          > * * *

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