Skip to main content

Brush preset update script hook

Useful for multi-user environments where custom handling and sharing of brush presets can be implemented using this hook.

Use case examples

In your custom script hook, you can implement a custom brush naming policy or uploading each brush preset to a network folder shared with other users working on the project.

Enabled with command line argument:

-brush_creator_callback "path/to/script"

Arguments passed to the script from Rebelle when a brush preset is created, removed or modified:

-action-type "create|remove|modify"
-preset-path "path/to/preset"
-brush-name "Brush Name"
-brush-type "WATERCOLOR|EXPRESS_OIL|INK_PEN|..." #same as in the SET_BRUSH event
-brush-group "Group Name"

Renaming a brush preset in Rebelle triggers two hook calls:

  1. remove with old name
  2. and then create action type with new name.

Rebelle waits until the script ends.