THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/07/2005 at 18:01, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9
Platform: Windows ; Mac ;
Language(s) : C++ ;
---------
Hi All,
i would like to understand how is working the result from ModellingCommand CurrentStateToObject. I assumed that the atomarray contain only 1 object.
ModelingCommandData cd;
cd.doc = doc;
cd.op = obj_link;
if(SendModelingCommand(MCOMMAND_CURRENTSTATETOOBJECT,cd)) {
exist=TRUE;
obj_linkb=(BaseObject* ) cd.result->GetIndex(0);
}
now.. how i do free this.. and what?
I need to free the AtomArray, the Atom or the baseobject casted?
Thanks in advance
Renato T.
http://www.tarabella.it/c4d