Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

Plugin Menu doesn't appear in BP UV Editor

 Post Reply Post Reply
Author
Message
peterakos View Drop Down
Member
Member


Joined: 2015 Jul 13
Online Status: Offline
Posts: 309
Post Options Post Options   Quote peterakos Quote  Post ReplyReply Direct Link To This Post Topic: Plugin Menu doesn't appear in BP UV Editor
    Posted: 2017 Apr 19 at 6:34am

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.


Edited by peterakos - 2017 Apr 20 at 12:32am
Back to Top
Andreas Block View Drop Down
Forum Moderator
Forum Moderator
Avatar

Joined: 2014 Oct 01
Location: Hannover
Online Status: Offline
Posts: 1599
Post Options Post Options   Quote Andreas Block Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Apr 20 at 6:22am
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.

Cheers,
Andreas
SDK Support Engineer
Back to Top
AlvaroStg View Drop Down
Member
Member


Joined: 2017 Apr 19
Online Status: Offline
Posts: 1
Post Options Post Options   Quote AlvaroStg Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Apr 23 at 10:16pm
Had the same problem and this male extra helped so thank you very much!


Edited by AlvaroStg - 2017 Sep 26 at 2:25am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.094 seconds.