Launch tool plugin from command plugin
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/07/2003 at 22:08, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.100
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;---------
Is it possible to launch a tool plugin from a command plugin?i.e. the commanddata plugin should execute a small ammount of code internally that changes the scene and then it should launch the tooldata plugin for the user to edit the scene in it's new state.
the commanddata plugins and the tooldata plugin are all part of the same project/module, linked together.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/07/2003 at 08:08, xxxxxxxx wrote:
You can use the last one of these core messages:
BaseContainer msg; #define COREMSG_CINEMA_GETCOMMANDNAME 200000033 msg = BaseContainer(COREMSG_CINEMA_GETCOMMANDNAME); msg.SetLong(COREMSG_CINEMA_GETCOMMANDNAME, id); String name = SendCoreMessage(COREMSG_CINEMA, msg, 0).GetString(); #define COREMSG_CINEMA_GETCOMMANDENABLED 200000035 msg = BaseContainer(COREMSG_CINEMA_GETCOMMANDENABLED); msg.SetLong(COREMSG_CINEMA_GETCOMMANDENABLED, id); Bool enabled = SendCoreMessage(COREMSG_CINEMA, msg, 0).GetLong(); #define COREMSG_CINEMA_EXECUTEEDITORCOMMAND 200000023 msg = BaseContainer(COREMSG_CINEMA_EXECUTEEDITORCOMMAND); msg.SetLong(COREMSG_CINEMA_EXECUTEEDITORCOMMAND, id); Bool result = SendCoreMessage(COREMSG_CINEMA, msg, 0).GetLong();
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/07/2003 at 09:04, xxxxxxxx wrote:
or you use doc->SetAction(PLUGINID);
Best
Samir -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/07/2003 at 11:19, xxxxxxxx wrote:
Forgot about that. But the nice thing with these commands is that they work with C4D commands as well. (I think someone asked about this in the past.)
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/07/2003 at 03:10, xxxxxxxx wrote:
ah i see, thanks then.