ZBrushCentral

ZScripting new controls into ZBrush interface?

I seem to remember somewhere that it is possible to add new controls to the ZBrush interface from ZScript plugins (not just into the scripting window), but looking through the list of ZScript commands, I see no way to do it. Was I just dreaming?

Thanks,
Ken

You just need to name your buttons, switches and sliders with an interface path name. For example, Zplugin:Misc Utilities:MyZplugin. The displayed name will be MyZplugin and the button will appear in the Zplugin palette under the Misc Utilities sub palette.

If you want to create a new sub palette for your buttons you must issue the [ISubPalette,…] command at the start of your script.

It is possible to add buttons to the existing palettes, the document palette for example. Simply call your button Document:MyZplugin. It is even possible to “overwrite” the default Zbrush buttons. By calling your button Document:Open:Open you will add a button on top of the existing button. Just make sure the button sizes match up and no one will ever now;)

Very cool. Hopefully the same commands that allow button placement (side by side, above/below) will also work.

Just what I needed,
Ken

They don’t. :slight_smile:

Very interesting and fruitful.
To accomodate the interface still more to your liking…
To add some knob that will open new tool, or combination of operations…
I would like to see somebody’s new knob produced to enhance Zbrush functionality. Can you write an example script?

Anatom.:rolleyes: