Plugin Menu doesn't appear in BP UV Editor

On 19/04/2017 at 06:34, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R18 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hello.

My menu is shown correctly in Standard Cinema 4D, but not when I switch it to BP UV Editor.
To fill the menu, I react to C4DPL_BUILDMENU in PluginMessage call.

I fill it using:

BaseContainer* bc = GetMenuResource(String("M_EDITOR"));

and

GeData *lastmenu = SearchPluginMenuResource();

as shown in examples.

What do I have to do to make the menu appear in BP UV Editor as well ?

Thank you.

On 20/04/2017 at 06:22, xxxxxxxx wrote:

Hi,

your problem is, you need to add to the correct menu. The different layouts in C4D have different menus. I suggest to open the menu editor (Menu Window->Customization->Customize Menus...). In the combo box you see all the defined menus (or rather their defined IDs). In your case it should be M_EDITOR_BP.

On 23/04/2017 at 22:16, xxxxxxxx wrote:

Had the same problem and this male extra helped so thank you very much!