ayon-core/openpype/tools/subsetmanager
2021-12-02 15:50:48 +01:00
..
__init__.py renamed Window class to SubsetManagerWindow 2021-11-12 19:33:15 +01:00
model.py disable editing of items 2021-11-12 21:43:07 +01:00
README.md copied subset manager to openpype tools 2021-11-12 19:32:04 +01:00
widgets.py give a separate style to SubsetManagerDetailsText 2021-11-12 19:36:28 +01:00
window.py use PlaceholderLineEdit where placeholder is set 2021-12-02 15:50: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