ZBrushCentral

Small dynamesh on/off indicator?

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. :cool:

Unfortunately this isn’t possible. The problem is that you can’t monitor the whole ZBrush interface from within a zscript. The Dynamesh button is specific to each tool/subtool, so every time you change subtools the zscript would have to log the change and update the indicator appropriately. The [Sleep] command has some of the functionality necessary - for example, it will pick up switching tools - but it won’t work with subtools; added to which, the moment you use another plugin your ‘Dynamesh’ zscript is turned off completely.

Ah, I see. I’ll just move the dynamesh button itself then. I’m trying to get a bit more efficiency out of my custom layout and is why I’m creating some new buttons. Now I just need to figure how to make the brush, stroke, alpha, texture, and material boxes smaller like they are in the Sculpt01 layout. Got any suggestions?

Thanks for taking the time to answer my questions, Marcus! I appreciate it very much. :smiley: