Scripting API

<<ColorManagement Main Index ColorReplacerAll>>
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

ColorReplacer

Script Name: ColorReplacer
Name: ColorReplacer
Library: ToolPaint
Description: Replaces one color in the image with another.
Status bar text: Color Replacer Tool: Use to replace one color in an image with a new color
Tool tip text: Color Replacer Tool
Undo text: Color Replacer
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Brush TipBrushTipParameter RepositoryBrush tip parametersNo
BrushBrushParameter RepositoryBrush settings.No
ToleranceToleranceIntegerColor toleranceNo200200
Primary MaterialPrimaryMaterialEnumeration (MaterialRef)The primary material for the tool action, foreground or background.NoForeground
Foreground MaterialForegroundMaterialParameter RepositoryThe foreground material.Yes
Background MaterialBackgroundMaterialParameter RepositoryThe background material.Yes
StrokeStrokeListThe path of the brush stroke.No0
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
NoRepeat: true
Has Random Seed: true
DisallowNullMaterial: true
UsesCachedMaterials: true
ProcessChanges: true
FinalizeTransient: true
 
Resource Attributes: