Skip to content
j0yu edited this page Mar 11, 2015 · 4 revisions

Creating Shelf Item

  1. Maya Window Menu ➡️ Settings/Preferences ➡️ Shelf Editor (3rd from bottom)
  2. Choose a shelf to put the shortcut in e.g. Shelves Tab ➡️ Shelves ➡️ Custom
  3. Shelves Tab ➡️ Shelf Contents ➡️ New Item (icon button) (top right corner, left of the grey bin)
    • This will create a new "User Script". Give it a better name, icon label, etc.
  4. Command Tab ➡️ Language ➡️ set to Python
  5. Replace the script in the script section with that of the Standard windowed script (see Launch Scripts)
  6. Double click Command Tab ➡️ Language ➡️ set to Python
  7. Replace the script in the script section with that of the Dockable version script (see Launch Scripts)
  8. Popup Menu Items Tab ➡️ Menu Items ➡️ New Menu Item (icon button) (top middle, left of to the grey bin)
  9. Rename it "Standard Windowed" (Popup Menu Items Tab ➡️ Menu Items ➡️ Rename)
  10. Change language to Python (Popup Menu Items Tab ➡️ Menu Item Command ➡️ Language ➡️ Python)
  11. Replace the script in the script section with that of the Debug mode for windowed script (see Launch Scripts)
  12. Repeat from and including step 8 to and including step 11 for other launch scripts and maybe even the debug functions and scripts)

Usage (for shelf icon/item):

Shelf Icon Action Usage
Single click standard windowed script editor
Double click standard dockable script editor
Right click ➡️ Debug mode for windowed windowed script editor in debug mode
Right click ➡️ Debug mode for dockable windowed script editor in debug mode
Right click ➡️ WipeOptionVars wipe script editor preferences, especially useful when thing go wrong
Right click ➡️ Clean and Reload JSE Module re-compile and reload JSE module, especially useful when thing go wrong

⭐ Essentials

🔧 Configuring and setups

These are main, core concepts that may already exist now but written for planning future development

Clone this wiki locally