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
    • Register
    • Login

    execute

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 522 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 17/03/2005 at 09:05, xxxxxxxx wrote:

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

      ---------
      Hi,
      I have changed the position of an object in somewhere in the code.
      The screen is not updated, because Execute func is not called.
      How can the execute func continuesly be called without playing?
      (like when you drag with the mouse)

      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 17/03/2005 at 09:37, xxxxxxxx wrote:

        Hi,

        which execute function are you talking about? If you modified something in the document, you may want to try
        calling EventAdd() and/or DrawViews() (doc->Message(MSG_UPDATE) shouldn´t be wrong either).

        HTH

        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 17/03/2005 at 11:04, xxxxxxxx wrote:

          I change the position of an object in the Execute function of a tag plugin.
          Problem: the code is in the Execute function, so, only when the Execute is called, the position is changed and the view updated.
          But: the Execute function is only called when something changes, but it does not because the exec is not called.
          Hmmm, something like the chicken and the egg...
          Mouse movement does it, when you drag the mouse, the editor camera changes pos and the vieuw is updated.

          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 25/03/2005 at 13:08, xxxxxxxx wrote:

            You can force these kinds of expressions to execute continuosly by pressing play. Another solution would be to use a dialog with a timer that forces a redraw.

            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 25/03/2005 at 14:33, xxxxxxxx wrote:

              Thanks Mikael,
              I used the play option and the timer crossed my mind.
              I will try, but first i think i will try a thread: see my thread trouble post.

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