Amazon VERSION 2.0V1 User's Guide Page 22

  • Download
  • Add to my manuals
  • Print
  • Page
    / 264
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 21
22
Editing Rules
You can edit rules and add new ones by overwriting list entries using Nodes2DAPI.NodeColorDelegate. For
example, to edit the color associated with the flavor composite to pure red, enter the following in the Python tab:
Nodes2DAPI.NodeColorDelegate.rules[ 2 ] = ( 'composite', ( 0, 0, 1 ) )
Creating New Rules
You can create a new rule using:
NodegraphAPI.Flavor.AddNodeFlavor( 'nodeName', 'flavorName')
To append a rule to the active rules use:
import Nodes2DAPI.NodeColorDelegate
Nodes2DAPI.NodeColorDelegate.rules.append( 'nodeName', 'flavorName' )
Editing Flavors
Flavors are collections of node types. You can see a list of all flavors in use in a recipe by entering:
print( NodegraphAPI.GetAllFlavors() )
You should see something like the following, which is a list of the flavors defined with Katana, as shipped:
[ '2d', '3d', '_dap', '_hide', '_macro', '_supertool', 'analysis', 'color',
'composite', 'constraint', 'filter', 'i/o', 'input', 'lookfile', 'output',
'procedural', 'resolve', 'source', 'transform' ]
You can see a list of all nodes that comprise a particular flavor by entering:
NodegraphAPI.GetFlavorNodes( 'flavorName' )
For example, to see a list of all nodes in the flavor color, enter:
print( NodegraphAPI.GetFlavorNodes( 'color' ) )
You should see something like the following, which is a list of the members of the flavor color with Katana, as
shipped:
['ImageBrightness', 'ImageBackgroundColor', 'ImageChannels', 'ImageContrast',
'ImageExposure', 'ImageFade', 'ImageGain', 'ImageGamma', 'ImageInvert',
'OCIOCDLTransform', 'OCIOColorSpace', 'OCIODisplay', 'OCIOFileTransform',
'OCIOLogConvert', 'OCIOLookTransform', 'ImageSaturation', 'ImageClamp', 'ImageLevels',
'ImagePixelStats', 'ImageThreshold']
NOTE: Flavor assignments are stored on the node itself, and each node can have multiple assignments. If
competing rules overlap on the same node type, the first rule applied wins.
4 CUSTOM NODE COLORS |
Page view 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 263 264

Comments to this Manuals

No comments

Watts T55-85MHP40 manuales

Manuales del propietario y guías del usuario para Accesorios para el agua Watts T55-85MHP40.
Ofrecemos 1 manuales en pdf Watts T55-85MHP40 para descargar gratis por tipos de documentos: Manual de usuario






Más productos y manuales para Accesorios para el agua Watts

Modelos Tipo de documento
M1513-14 Manual de usuario   Watts M1513-14 User Manual, 1 paginas
M1127-31 Manual de usuario   Watts M1127-31 User Manual, 2 paginas
N2050A Manual de usuario   Watts N2050A User Manual, 24 paginas
RD-700-CT Manual de usuario   Watts RD-700-CT User Manual, 1 paginas
M1118-4 Manual de usuario   Watts M1118-4 User Manual, 1 paginas
M1513-AK Manual de usuario   Watts M1513-AK User Manual, 2 paginas
F1115-7 Manual de usuario   Watts F1115-7 User Manual, 8 paginas
FD-1160 Manual de usuario   Watts FD-1160 User Manual, 1 paginas
F1113-41 Manual de usuario   Watts F1113-41 User Manual, 1 paginas
RD-260 Manual de usuario   Watts RD-260 User Manual, 1 paginas
M6500 / M61500 Manual de usuario   Watts M6500 / M61500 User Manual, 2 paginas
S1513-AK Manual de usuario   Watts S1513-AK User Manual, 2 paginas
Autotrol 255 (400 Series) Manual de usuario   Watts Autotrol 255 (400 Series) User Manual, 32 paginas
389 4003 Manual de usuario   Watts 389 4003 User Manual, 1 paginas
LLL100XL Manual de usuario   Watts LLL100XL User Manual, 2 paginas
CO-200-US Manual de usuario   Watts CO-200-US User Manual, 1 paginas
957Z Manual de usuario   Watts 957Z User Manual, 4 paginas
4545B Manual de usuario   Watts 4545B User Manual, 1 paginas
FD-200-DD Manual de usuario   Watts FD-200-DD User Manual, 1 paginas
F1110-10 Manual de usuario   Watts F1110-10 User Manual, 1 paginas