THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/01/2012 at 04:28, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13
Platform: Windows ;
Language(s) : C.O.F.F.E.E ; XPRESSO ;
---------
Hi, I'm trying since a couple of hours unsuccessfully to melt the polygons of a polygon object using COFFEE within a XPRESSO tag.
I have got all the polygons selected and the object is the document's active object.
I'm trying the following commands to melt the polygons of the polygon object:
SendModelingCommand(MCOMMAND_MELT,doc,poly_obj,bc,MODELINGCOMMANDMODE_ALL);
SendModelingCommand(MCOMMAND_MELT,doc,poly_obj,bc,MODELINGCOMMANDMODE_POLYGONSELECTION
);
SendModelingCommand(ID_MODELING_MELT_COMMAND,doc,poly_obj,bc,MODELINGCOMMANDMODE_ALL);
SendModelingCommand(ID_MODELING_MELT_COMMAND,doc,poly_obj,bc,MODELINGCOMMANDMODE_POLYGONSELECTION);
CallCommand(1010136) This is the GUI Melt Command
CallCommand(440000043) This is the GUI dissolve Command
None of those is processing the polygons, though the object is active and the polygons are selected. (I have checked on the OM and Viewport that this is the case).
The BaseContainer bc is a dummy BaseContainer, as for the melt command no parameters are required.
Am I missing something? Is there a concrete command sequence to melt/dissolve polygons?
Thanks,
ma.bad