SendModelingCommand doc?

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

On 21/07/2004 at 12:27, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   85 
Platform:   Windows  ;   
Language(s) :   C.O.F.F.E.E  ;

---------
Hi - me again...
I want to do a current-state-to-object in c.o.f.f.e.e., but I dont want an undo.... The sdk says that   SendModelingCommand  will generate an undo unless the document is omitted.  When I pass the doc, everything is fine, but if I pass a NULL ( instead of doc ) ,the object vanishes (along with its new copy).  Is there something that needs to be done AFTER the command  which could prevent the odd behaviour?  OR   is there a way to delete an undo without actually using it (so the doc could be passed, but the undo deleted)?
Cheers mates.....