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

    "Preview Min Time" message

    PYTHON Development
    0
    6
    578
    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

      On 17/09/2015 at 03:01, xxxxxxxx wrote:

      What message do I receive, if the user changes the "Preview Min Time" in Project Settings or by using the slider in the Animation Toolbar?

      I am using a Command Plugin.

      -Pim

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

        On 18/09/2015 at 06:01, xxxxxxxx wrote:

        Hi Pim,

        in a CommandData plugin, you won't get a message on changes of the Power Slider (or respective Project Setting changes).
        Actually the Message function of a CommandData plugin is used only in very special cases.

        You can use a MessageData plugin instead. There you get of course a EVMSG_CHANGE, but then you'd have to check the settings on every change.
        But there's also an undocumented message 1018484. This will be send on Power Slider changes. As this is undocumented, there's of course no guarantee, that it won't change in future (I have to say this).

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

          On 18/09/2015 at 12:41, xxxxxxxx wrote:

          Thanks, I check the message in a message data and then a message to the command plugin.
          Thanks for the clear answer.

          -Pim

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

            On 19/09/2015 at 06:33, xxxxxxxx wrote:

            Originally posted by xxxxxxxx

            You can use a MessageData plugin instead. There you get of course a EVMSG_CHANGE, but then you'd have to check the settings on every change.
            But there's also an undocumented message 1018484. This will be send on Power Slider changes. As this is undocumented, there's of course no guarantee, that it won't change in future (I have to say this).

            It works fine. However I get 1018484 as much as a  EVMSG_CHANGE, what is the difference?
            What do you mean with " Power Slider changes".

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

              On 21/09/2015 at 09:36, xxxxxxxx wrote:

              Hi Pim,

              I am terribly sorry. I hadn't expected this, but to be honest I also didn't test it. Well, I tested the reception of the message on the Power Slider changes (that's what we call the time slider below the viewport internally), but I didn't test, if the message is sent in all other situations as well.
              So, I'm afraid it's best to work with EVMSG_CHANGE instead.
              Sorry!

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

                On 22/09/2015 at 11:14, xxxxxxxx wrote:

                Thanks, no problem.

                -Pim

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