
Search is based on keyword.
Ex: "Procedures"
Do not search with natural language
Ex: "How do I write a new procedure?"
Example Asset Plug-in
Katana ships with an example Asset plug-in, PyMockAsset. To use the example plug-in the following path must be available in your KATANA_RESOURCES environment variable: ${KATANA_ROOT}/plugins/Resources/Examples/
PyMockAsset takes information on show, shot, asset, and version, and uses a browser customized with fields to hold that data. All of the images used in this section show the PyMockAsset plug-in.
The PyMockAsset plug-in searches for assets under a file location specified in an environment variable called MOCK_ASSET_DIR, for example:
MOCK_ASSET_DIR=/tmp/MockDB
The entries in the selection menus in the PyMockAsset asset browser are determined by the folder structure under the location specified in the MOCK_ASSET_DIR variable.
For example, the asset browser shown above is generated from the folder structure below.
Note: If MOCK_ASSET_DIR is not set on your system, PyMockAsset defaults to searching Python's tempfile.tempdir directory
It varies on the platform, see https://docs.python.org/2/library/tempfile.html#tempfile.tempdir.
Sorry you didn't find this helpful
Why wasn't this helpful? (check all that apply)
Thanks for your feedback.
If you can't find what you're looking for or you have a workflow question, please try Foundry Support.
If you have any thoughts on how we can improve our learning content, please email the Documentation team using the button below.
Thanks for taking time to give us feedback.