📋 Metadata
- Author: roaoao
- Date: 2019-03-09 05:35:27
- Type:
answer - Reply to: post_02004
💬 Content
Colacuve:
Is it possible to have more than one context-sensitive menu set up?
Yes, I’ve updated the example. It will be available in the next version.
Download and copy command_context_sensitive_menu.py file to pie_menu_editor/scripts folder and import context_sensitive_menu.json file.
To add more context sensitive menus you need to name your sub-menus with some prefix/suffix. Eg:
CSM2: None Object, CSM2: Mesh, CSM2: Any Object
And update the code for the context sensitive menu (Command tab):
execute_script("scripts/command_context_sensitive_menu.py", prefix="CSM2: ")