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

    check if cinema still redraws

    SDK Help
    0
    4
    338
    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 28/06/2004 at 08:00, xxxxxxxx wrote:

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

      ---------
      Hi!
      I want to prevent my users from hitting the action button in my plugin when cinema redraws the document.
      The Core Message

      EVMSG_DOCUMENTRECALCULATE seems to be the right one but how can I check whether it is set or not?
      
      Wanna do a while - loop to check whether it is still redrawing or not...
      
      thx,
      
      lawn
      
      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 29/06/2004 at 15:44, xxxxxxxx wrote:

        Does nobody know? It should be a common problem...

        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 30/06/2004 at 21:16, xxxxxxxx wrote:

          It isn't possible to detect whether the editor is being redrawn, since that happens in a thread. If you tried to check it there would be a race condition.
          Perhaps the solution is to call StopAllThreads() in your action? (Or tell the user not to press it when the editor is being drawn?) What is it that you want to prevent?

          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 01/07/2004 at 02:03, xxxxxxxx wrote:

            I want to prevent him from makin my plugin update objects of the scene but I got a solution!
            in GeDialog::Message I can react on Core Messages.
            There I simply set a global variable of my Dialog and that's enough. Because my Calls to the Modification system via Java Native Interface (my core code is in java...) are very slow, there's now no problem any more...
            Thank you anyway...

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