Useful small ZScripts & Macros for ZBrush 2021

This thread is intended as repository for useful small zscripts, plugins and macros for ZBrush 2021. The thread is a continuation of the earlier thread for 4R8 here.

Sometimes there’s a simple zscript solution to a problem or need that may not warrant a major plugin but will none-the-less be useful to users. If you have written such a zscript, plugin or macro please share it here so that users can easily find it and benefit. Thanks!

Export Image macro

Set Startup Project

Export Image macro

This macro will export the current document as part of an image sequence. It was written to complement the Axis Rotation feature introduced in 2021.5 but it will be useful any time you want to export a short sequence of images.

If you assign a hotkey then an image will be automatically exported each time you press the hotkey, with the file name incremented by one from the previous file. If no file name is stored then you will be asked to save one to start.

If you click the button instead of using the hotkey then you will be asked for a file name, so you can change the file name any time.

Save the file to the ZBrush 2021\ZStartup\Macros\Misc\ folder and press Macro>Reload All Macros or restart ZBrush. The Export Image button will be in the Macros palette.

Export Image.txt (756 Bytes)


Set Startup Project

Here’s a little plugin that will allow you to set a startup project. For example, I have used the plugin to set my startup project as the “DefaultProject.zpr”.

StartupProject.zip (2.5 KB)

To install:

  1. Download the file and unzip to your Desktop.
  2. Copy the StartupProject.zsc file to the ZBrush 2021\ZStartup\ZPlugs64 folder.
  3. Restart ZBrush.

To use:
The plugin adds a new button called “Set Startup Project” to the Zplugin>Misc Utilities sub-palette. Press the button and you will get a file dialog to select the file you want to use.
Important If you cancel the file dialog without selecting a file, and you had previously set a startup project, this will no longer be loaded when ZBrush starts - in other words startup is reset to the factory default.

1 Like