Gui Manual

Explains GUI concepts in the ZBrush Python API.

Palettes and Subpalettes

ZBrush unique perspective on user interfaces also reflects in its API. The major abstractions in ZBrush’s GUI system are palettes and subpalettes. Palettes are top the levels items that also appear as menu entries in the menu bar of ZBrush. Palettes both bare characteristics of a menu and a window as it encapsulates both a label shown in the menu as well as the GUI area associated with that label which holds multiple interface items. Palettes can be torn off from the main menu and docked in the UI. Each palette can contain multiple subpalettes, which are smaller sections of the palette that can be used to group related interface items.

ZBrush Palettes

Fig. I: Shown is the upper right section of the ZBrush interface. Items in the menu bar of ZBrush, as for example the entries Transform or ZScript, are palettes. The Python Scripting box shown in the lower right corner of the figure is for example a subpalette of the ZScript palette.

Notes and Messages

Item Paths

Entities in the ZBrush UI are addressed via their item path.