Search Tips

Search is based on keyword.

`Ex: "Procedures"`

Do not search with natural language

`Ex: "How do I write a new procedure?"`

Give Feedback Support Portal

# Extending the User Interface with Asset Widget Delegate

Katana provides a mechanism for configuring the asset related parts of its user interface. This is achieved by implementing and registering an AssetWidgetDelegate.

The PyMockAssetWidgetDelegate.py provides a good reference. This file is shipped with Katana in:

${KATANA_ROOT}/plugins/Src/Resources/Examples/UIPlugins/

This allows users to:

• Configure the asset/file browser. Typically this is done by extending with a custom asset browser tab.

• Implement a custom Python QT widget for displaying and editing Asset IDs in the Parameters tab.

• Implement a custom Python QT widget for displaying and editing render output locations in the Parameters tab.

• Customize the QuickLink paths used by the file browser.

To create an AssetWidgetDelegate plug-in, create a new Python file and place it in a directory called UIPlugins in a folder in your KATANA_RESOURCES.

Note: The UI4 module is the main Python module for working with the Katana user interface.