THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/12/2012 at 07:38, xxxxxxxx wrote:
Cinema 4D Version: R13+
Language(s) : C.O.F.F.E.E ;
Is there a way to have a COFFEE Command Plugin invisible,
that is, not shown in the Plugins Menu?
What I have is a Python Command Plugin that is
using a COFFEE Command Plugin. The coffee plugin
does not make any sense on its own, that's why
I'd like it hidden.
Right now I have its state set to "0", so it
is greyed out, not selectable.
I have the .cof/.cob file in the same folder
as the .pyp file yet the coffee plugin is shown
on its own in the plugin menu and not together
with the python plugin.
It would be ok if the coffee plugin would be shown
together with the python plugin as they "belong"
to each other, but it doesn't.
COFFEE Expression Plugins have the UseMenu()
and DisplayAllowed() options for this, but
that doesn't seem to work for Menu Plugins.
On 05/12/2012 at 11:10, xxxxxxxx wrote:
I guess no then.
On 06/12/2012 at 04:02, xxxxxxxx wrote:
Yes, I'm afraid we cannot hide a COFFEE Menu plugin.
A COFFEE Menu plugin is a 'limited' Command plugin always displayed in the plugin's menu. It's not possible to develop a pure 'Command' plugin with COFFEE.
And about the COFFEE and Python entry not being grouped together, CINEMA makes a distinction between plugins registered in different languages and context.