Customize menus
Reorder your Pixyz Studio menus as you wish with .menu files.
Set up
- Create a - menussubfolder at your plugin's root folder, next to- plugin.xml.
- Create a new file with the .menu extension. - You can add as many .menu files as you like. - Icons can be added by adding a .png file to the - iconssubfolder, see this documentation page.
Syntax
Menu creation and positioning
- Create a new Sample menu, position it before an existing one: - <menu name="Sample" before="Scene"> … </menu>- Or edit an existing menu: - <menu name="Scene"> … </menu>
- Create a submenu: - <menu name="Sample" before="Scene"> <subMenu name="Pixyz"> … </subMenu> </menu>
- Add separators: - … <separator/> …
Function entries
- Add the main plugin function and change its displayed name: - <action function="SampleFunction" displayName="Sample Function"/>
- Add existing functions from other modules: - <action module="Algo" function="tessellate"/>
- Hide existing functions: - <action module="Algo" function="decimateTarget" hidden="true"/>
Note
Function will be hidden in its original menu.