On 21/02/2017 at 08:01, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R18
Platform: Windows ;
Language(s) : C++ ;
---------
Hello.
I have a ToolData plugin.
The following code returns false:
ModelingCommandData cd;
cd.doc = GetActiveDocument();
if (!SendModelingCommand(MY_TOOLDATA_PLUGIN_ID, cd))
return false;
I can see it as command in "Customize Commands" window and it works fine when I select it and click "Execute" there.
Why does SendModelingCommand fails to call it ?
Thank you.