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

    check which parameter was changed

    Scheduled Pinned Locked Moved SDK Help
    9 Posts 0 Posters 623 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 03/10/2010 at 11:02, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:      
      Language(s) :     C++  ;

      ---------
      hi there,

      can someone point me to how i can check which parameter was actually changed?

      thanks in advance,
      ello

      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 04/10/2010 at 02:05, xxxxxxxx wrote:

        Where do you want to check which paramter has changed. Please always provide as much as possible information as it helps me to answer question more quickly.

        cheers,
        Matthias

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

          in this case i think it would be good to know within "Bool myPlugin::Message(..."

          for example i have parameters for a sudden length to distribute objects along, a number of objects and a distance between objects.

          if i change the number of objects and the length is locked than the distance will be calculated. but if i change the distance, than i want to calculate the number of objects.

          cheers,
          ello

          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 04/10/2010 at 03:25, xxxxxxxx wrote:

            I´d say use

            MSG_DESCRIPTION_VALIDATE

            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 04/10/2010 at 03:42, xxxxxxxx wrote:

              yes, but how do i know which of the parameters has been changed? as in the example there can also be the case where i lock the number of objects and change the distance, so the length will change, or i change the length and the distance will change accordingly. thus i need more than the info that some of the values was changed. i need to know if it was length, count or distance

              edit: or is this what is found by using GetNodeID and check if it is the ID of for example the distance parameter?

              thanks,
              ello

              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 04/10/2010 at 04:27, xxxxxxxx wrote:

                store the old values and compare

                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 04/10/2010 at 04:59, xxxxxxxx wrote:

                  arr, i was just afraid about that

                  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 04/10/2010 at 05:16, xxxxxxxx wrote:

                    Personally I think it's not such a good idea to change description elements based on the change of another element. Maybe you can offer several modes with a drop-down and grey out the locked elements. This way you always know which parameter can be changed. The problem I see with your proposed solution is that if parameter are animated you can run into somew not so well defined states.

                    cheers,
                    Matthias

                    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 04/10/2010 at 05:46, xxxxxxxx wrote:

                      this may be, but luckily the plugin isnt ment to be animated at first

                      cheers,
                      ello

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