THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/01/2010 at 02:51, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R11.5
Platform: Mac OSX ;
Language(s) : C.O.F.F.E.E ;
---------
Hi there. That's my first post here:)
Feeling kinda newbee :)))
Any ways, I have a little question. in COFFEE I am trying to use CallCommand(1019951); // Delete Without Children command. Unfortunatly, I cannot find a way to add Undo step to it. Here's a code:
var deleteme = doc->GetActiveObject();
deleteme->SetBit(BIT_ACTIVE);
doc->AddUndo(UNDO_DELETE, deleteme);
CallCommand(1019951); // Delete Without Children
:((((
Any help to solve this would be sweet:)
Thanks in advance.
Tomas Sinkunas.