Add Support for Sub-menu in python api menu items

Idea created by dave.lajoie_Presagis on Aug 15, 2017
    New
    Score0

    It would be great to be able to organize menu items using sub-menus

     

    for instance

     

    possible menu definition argument
    1) ( 'subMenu1', 'subMenu2', 'MenuItemName' )
    2) 'subMenu1:subMenu2:MenuItemName'

    ce.addScriptMenuItem( fileSystemPath,  menuDefinition )

    print ce.listScriptMenuItems()

    as dict
    > { menuDefinition : fileSystemPath }

    as list of tuple
    > [ ( menuDefinition , fileSystemPath ) ]