Amazon VERSION 2.0V1 Guía de usuario Pagina 215

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 264
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 214
215
shot = ts520
show = srow
username = name
workstation = seat
When the function to run a custom asset plug-in command is called the asset API plug-in uses the AMS to check if the
command succeeds or fails. The function signature to run the plug-in command is:
runAssetPluginCommand(assetID: string, command: string, commandArgs: map of string): bool
The command parameter receives the command to execute, for example:
acquireLock
releaseLock
The commandArgs dictionary contains information about the arguments with which to customize the execution of
the given command, with names of command arguments as keys and values of command arguments as values.
The commandArgs dictionary may be empty.
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.
27 ASSET MANAGEMENT SYSTEM PLUG-IN API | EXTENDING THE USER INTERFACE WITH ASSET
Vista de pagina 214
1 2 ... 210 211 212 213 214 215 216 217 218 219 220 ... 263 264

Comentarios a estos manuales

Sin comentarios