Style Presets

Table of contents
  1. Saving presets
  2. Loading presets
    1. Loading options
  3. Deleting presets
  4. Refreshing presets
  5. Editing and renaming presets
  6. Style Presets API

Style presets allow artists to easily switch between styles and their attributes within Flair. The tool can be opened by clicking on the STYLE shelf icon.

Style presets window
The Style presets window will look similar to this, depending on which presets you have available.

A style preset contains all the attributes found in the Flair globals node (the node that gets selected when you press the GLOB shelf icon), together with a small thumbnail of the current view.

Saving presets

You can save as many presets as you want and these can be created at the top of the Style presets window.

  1. Name the current preset as desired in the “New preset name” text field
  2. Press Enter or click on the Save button on the right
  3. A new preset will appear that saved all attribute values of the globals node.

When you save a preset with the same name as an existing one, the previously existing preset will be overwritten.

Loading presets

Presets can be loaded into the current scene at any time.

  1. Select the preset that you would like to load
  2. Double click on the preset icon or click on the Load button at the bottom left

Loading options

The loading options give you more refined control over the loading process:

  • Load world scale - Whether to load the World Scale attribute from the style. By default this is unchecked and the current world scale will be preserved when loading the style.
  • Load quality - Whether to load all Quality attributes from the style including TAA, Samples, Render Scale and colorDepth.
  • Load attributes - Whether to load the main attributes of the style preset. This is on by default, but you can uncheck this option if you want to load only the canvas attributes.
  • Load canvases - Whether to load the canvas-related attributes. If this is unchecked, the current canvas attributes will be preserved when loading the style.

Underneath the loading options is a field to filter presets by name, and the drop-down on the right to filter by style. This is especially useful when working with a lot of presets.

Deleting presets

Presets can be deleted at any time.

  1. Select the preset that you would like to delete
  2. Click on the Delete button at the bottom right

A deleted preset cannot be recovered by undoing changes.

Refreshing presets

Each style preset is saved under Flair/maya/presets/styles as a *.json and *.jpg file. Each individual installation will have their own presets, but these can also be shared if Flair is stored in a shared/network folder.

If you or someone else adds/deletes/modifies presets manually within the presets folder, you need to refresh the Style presets window to grab the changes made: click on the Refresh button at the bottom.

Editing and renaming presets

When you right-click on a preset, a context menu will appear with options to Edit or Rename the preset.

Right click context menu on a preset
Right click context menu on a preset.
  • Editing the preset will open the *.json preset in a text editor to modify to your liking. Remember to refresh the presets after any edits.
  • Renaming the preset will prompt to enter a new name for the preset.

Style Presets API

The Style Presets tool manages an instance of the style presets library, available within the style presets module of the Flair API. You can use this API to automatically save or load different presets within your custom pipeline.