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

    Updating the Document

    SDK Help
    0
    6
    430
    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 08/09/2004 at 10:50, xxxxxxxx wrote:

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

      ---------
      Hi!

      I am writing a Command, that is used to convert an object from one representation to another one. I create the new representation, insert it into the Document and delete the original one. After I did that, the Document does not redraw. How do I trigger a Redraw in a BaseDocument? I tried calling doc->Message(MSG_UPDATE).

      Timm

      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 08/09/2004 at 10:55, xxxxxxxx wrote:

        Try newobj->Message(MSG_UPDATE).

        You are using 'oldobj->Remove()' before deleting the original one, right? 🙂

        Robert

        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 08/09/2004 at 16:01, xxxxxxxx wrote:

          If that doesn't work, you may also want to call EventAdd().

          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 09/09/2004 at 01:52, xxxxxxxx wrote:

            In COFFEE this is accomplished using GeEventAdd(REDRAW_ALL);
            I think there's a similar instruction in C++ SDK.
            Hope this helps...
            Riccardo

            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 09/09/2004 at 13:36, xxxxxxxx wrote:

              That would be EventAdd(). EventAdd(EVENT_FORCEREDRAW) would be the equivalent instruction in C++ SDK.

              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 07/10/2004 at 09:28, xxxxxxxx wrote:

                EventAdd(EVENT_FORCEREDRAW) did do the job! Thanks guys!

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