collect_unique_product_names
Requires
instance.data["families"] containing "wrap"
Provides
instance.data["publish"] set to False for secondary instances
CollectProductName
Bases: ContextPlugin
Mark secondary instances with same product_name as not publishable.
There is ValidateProductUniqueness validator that checks for unique product names. There could be use case in Wrap workfile for multiple writers having same product name, but different output extension.
Extractor will then merge all secondary (coming after first one) into single one with multiple representations.
Source code in client/ayon_wrap/plugins/publish/collect_unique_product_names.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | |