Undo Question

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/10/2009 at 10:04, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   11.5 
Platform:   Windows  ; Mac  ;  
Language(s) :

---------
Hello All,
i am trying to implement Undo in my tooldata plugin,
i can undo object creation, but i can't find way to undo Point and Polygon added with modelling lib.

any sugestion ?
all the best
Franz

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/10/2009 at 14:44, xxxxxxxx wrote:

hmm remember that addundo has to be called before you change the object. type should be UNDO_CHANGE.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/10/2009 at 15:35, xxxxxxxx wrote:

Hello Satara,
cool now it works... was simply needed to call AddUndo befor modelling->Commit....
Many Thanks :)
Franz