On 25/03/2014 at 02:20, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R14
Platform: Windows ;
Language(s) : C++ ;
---------
Hi all,
I'm working on a new plugin, and I'm not quite sure what type of plugin to derive it from.
I want the plugin to behave like a command plugin, i.e., a button or menu entry that allows the user to execute a certain operation with a single click. The catch is that there are some parameters that I would like the user to be able to change. As far as I understand, there is no way to attach a GUI to a command plugin. The typical use case for my plugin is as follows:
- The user sets some parameters.
- The user executes a command several times, based on these parameters.
- Possibly, the parameters are changed and the process is repeated.
One idea I have is to store the parameters in the container of a special object that the user can add to the scene. A command plugin could then find (the first instance of) this object, and read the parameters.
Do you have any other suggestions? Are there any other tools in c4d that operate in a similar way?
Thanks
/Filip