📋 Metadata
- Author: roaoao
- Date: 2017-08-15 10:39:09
- Type:
answer - Reply to: post_00783
💬 Content
emboo2:
For context sensitivity, is it possible to have a single hotkey to call a unique contextual menu depending on object type?
Yes, you can use poll method for this. For example use this code to call menu only for mesh objects:
return C.active_object and C.active_object.type == 'MESH'
You can find all object types here.
Make sure that you copied this PME 1.13.6 fix (pme1.13.6_fix_poll.zip (22.3 KB)) to pie_menu_editor/ folder.