On 02/07/2015 at 09:35, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R16
Platform: Mac OSX ;
Language(s) : C++ ;
---------
Hi,
I'm trying to convert a selection from edge-mode to point-mode.
Here is what I've got so far:
BaseContainer bc;
bc.SetInt32(MDATA_CONVERTSELECTION_LEFT, 1);
bc.SetInt32(MDATA_CONVERTSELECTION_RIGHT, 0);
bc.SetBool(MDATA_CONVERTSELECTION_TOLERANT, false);
ModelingCommandData cd;
cd.doc = doc;
cd.arr = selection;
cd.bc = &bc;
if (!SendModelingCommand(MCOMMAND_CONVERTSELECTION, cd))
{
return false;
}
EventAdd();
Is it normal that this doesn't update visually?
And if so, what do I have to do to make it visible?
Greetings,
Casimir Smets