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

    Custom Undo Notification

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 297 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 14/02/2007 at 00:25, xxxxxxxx wrote:

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

      ---------
      Hi all!

      I'm trying to get a plugin undo system make use of the C4D undo stack.
      I want a way to add, to the C4D undo list, some sort of custom undo object and when an doUndo is done I will get a callback to handle the undo myself?

      / Jonas

      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 15/02/2007 at 07:38, xxxxxxxx wrote:

        I read in an old thread about the only way of knowing some data in your BaseContainer changed, is to compare it with some ref. data, or to call GetDirty() on it. For me this means a lot of unessecary function calls.

        I wonder if it is possible in some way to get notified, for example if there would be some EVMSG_UNDO/REDO message. Or some way to provide a callback function to be executed when the user hit the undo/redo button.

        Or perhaps in some other way intercept C4D when undo/redo is done.

        Would really apreciate some advice on this.

        Thanks

        /Jonas

        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 09/03/2007 at 03:38, xxxxxxxx wrote:

          sorry, this is not possible

          cheers,
          Matthias

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