Menu Entry with subid



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 16/02/2009 at 02:31, xxxxxxxx wrote:

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

    ---------
    Hello,

    I am enhancing a menue with several new entries. Is it possible to not just specify the general plugin (e.g. with PLUGIN_CMD_1023538 as MENURESOURCE_COMMAND) but also adding a subid to call a specific plugin mode?

    Best regards and thanks in advance
    Macm



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 17/02/2009 at 04:59, xxxxxxxx wrote:

    Are this subids of CommandData plugins?

    Btw. enhancing the menu is only recommended for plugins with lots of of menu entries (like the Cinema4D modules). If every plugin developer would create an own menu you would end up with quite a main menu.

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 17/02/2009 at 07:46, xxxxxxxx wrote:

    Hello,

    yes, I am talking about subids for CommandData plugins. I'm aware of the capability of CallCommand(id, subid) to use subids and also of creating a subid capable menu with GetSubContainer but these type of menus can't be undocked.

    As I don't see a possibility to get subids via the Command Manager either I fear I have to use normal PluginIds redirecting to the real plugins...

    This is for the currently internal AixSponza plugin bundle and with all the stuff it's starting to get quite messy without putting it into a separate menu.

    Thanks
    Macm



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 25/02/2009 at 05:56, xxxxxxxx wrote:

    Yes, I am afraid you have to create command plugins with a call to CallCommand(ID, SubID) to run the sub ID commands.

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 30/09/2009 at 12:12, xxxxxxxx wrote:

    Are these subIDs for the commands documented anywhere?

    Could that be a way to make a number of hidden options available in the GUI, that currently must be invoked by ctrl- or shift-clicking on the command?

    Thanks

    Kabe



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 04/10/2009 at 11:15, xxxxxxxx wrote:

    To be clear: I'm asking about the subIDs for Cinemas internal commands...

    Kabe



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 05/10/2009 at 03:24, xxxxxxxx wrote:

    The SubIDs are not documented.

    cheers,
    Matthias


Log in to reply