ayon-core/openpype/tools/subsetmanager
2022-12-21 13:48:48 +01:00
..
__init__.py renamed Window class to SubsetManagerWindow 2021-11-12 19:33:15 +01:00
model.py use qtpy in subset manager 2022-12-21 13:48:48 +01:00
README.md copied subset manager to openpype tools 2021-11-12 19:32:04 +01:00
widgets.py use qtpy in subset manager 2022-12-21 13:48:48 +01:00
window.py use qtpy in subset manager 2022-12-21 13:48:48 +01:00

Subset manager

Simple UI showing list of created subset that will be published via Pyblish. Useful for applications (Photoshop, AfterEffects, TVPaint, Harmony) which are storing metadata about instance hidden from user.

This UI allows listing all created subset and removal of them if needed ( in case use doesn't want to publish anymore, its using workfile as a starting file for different task and instances should be completely different etc. )

Host is expected to implemented:

  • list_instances - returning list of dictionaries (instances), must contain unique uuid field example: [{"uuid":"15","active":true,"subset":"imageBG","family":"image","id":"pyblish.avalon.instance","asset":"Town"}]
  • remove_instance(instance) - removes instance from file's metadata instance is a dictionary, with uuid field