User guide

203
Editing GenericAssign Mechanisms
The GenericAssign mechanism can be edited so that Katana recognizes the XML attribute "enabled/enabled" as a
'forced on' option. This is especially useful for ensuring that nodes, such as PrmanGlobalSettings, are always
enabled. Thus, the given option would always be passed through into the Scene Graph for the renderer to be able to
access.
For example, a snippet from PrmanGlobalSettings.xml that currently has:
<group name='searchpath' closed='True'>
<string name='shader' default='' />
... [ XML omitted] ...
</group>
would look as follows after the change:
<group name='searchpath' closed='True'>
<string name='shader' enabled='True' default='/home/myshaderpath' />
... [ XML omitted] ...
</group>
thus causing the "shader" to appear like it had been locally set and causing it to be passed to the renderer.
26 CREATING A GENERICASSIGN-BASED NODE TYPE | EDITING GENERICASSIGN MECHANISMS