User guide

24
Making Updates Persist
Rules and flavors created or modified within the Python tab expire with the Katana session. Using the Node Graph
and Nodes2DAPI.NodeColorDelegate Python APIs, you can include your rules and flavor changes in Python
startup scripts, making them persistent across Katana sessions. To do this, add your code to one of Katana's startup
scripts. These are files named init.py, located in the Startup folder, under the path defined in the KATANA_
RESOURCES environment variable. Alternatively, you can use a startup script in the form of an init.py file placed in
the .katana folder in your $HOME directory.
4 CUSTOM NODE COLORS |