I found this thread today and have been able to successfully make a couple of small buttons.
http://www.zbrushcentral.com/showthread.php?100579-Custom-sized-named-UI-buttons
Now I’m trying to make one that shows whether dynamesh is on or not. The ability to press this button to enable/disable dynamesh would be nice, but is optional. Mostly I just want a small indicator I can put on a shelf that is always visible.
I’ve been through the command reference numerous times and have made many coding attempts today, but all have resulted in failure. The only thing I’ve managed to do so far is create a small button which toggles the dynamesh button. Kind of useless without some indication of whether it’s already on or not lol.
Help is most welcome, and I thank you for any you can provide.