blender_Shelves
blender_Shelves copied to clipboard
Custom Header Buttons
Discussion
https://blenderartists.org/t/shelves/1253560
Header Buttons
This addon allows you to create custom buttons and buttons templates for Blender, they will be displayed in the header.
Quickly switch between shelves to ahve actions for different tasks at hand.
Addon Preferences Description
Create a new button
- go to the user preferences of blender, navigate to the Interface section and enable "Developer Extras"
This will allow you to copy the operator from Blender's UI elements
-
Go to the Shelves addon preferences and use the + button on the right side to add a new button, by default this will add a button with a hearth icon and a operator to open the user preferences
-
Navigate to the Icon Viewer Addon and open the Icon Viewer, select the icon you want and copy the Icon String over to your Icon Field in the Shelves addon.
-
Give your Button a Name
-
Navigate to the action you want to bind to that button and copy the python command
Paste the python command in the operator field and remove the brackets at the end and the parts in the front (this might vary a bit from operator to operator)
- save you rnew Shelve
Note: if you add new buttons you will need to add a new shelv with the same name to overwrite and save the existing shelve