On 17/06/2015 at 01:20, xxxxxxxx wrote:
Cinema 4D Version: R16
Platform: Mac OSX ;
Language(s) : C++ ;
Is it possible to add a new (custom) "plugin" mode to the attributes manager?
What I want to do is: store user defined values and set them to new objects whenever the user asks to.
Because of this, my plugin needs to be working the whole time, active or inactive. A dialog doesn't seem ideally for this (also because you can't store dialogs in a custom layout, as far as I know. If not, let me know!).
Then I thought about adding a second Attributes Manager to your layout, and making a custom mode for it, that searches for plugins, or something like that. And, when the user changes to his custom layout (with the plugin) a check if the plugin is still active, has to be done. If so, just display it in the second Attributes Manager, under the "Plugin" mode. If not, create another instance of the plugin and display it in the second Attributes Manager. Also, in this case, before you save your layout, you should lock the mode in the second Attributes Manager, right?
Is my concept of what I want to do right?
And how should I start with this?
Thanks in advance for your help and time!