diff --git a/openpype/pipeline/creator_plugins.py b/openpype/pipeline/creator_plugins.py index c258306063..95408bec1f 100644 --- a/openpype/pipeline/creator_plugins.py +++ b/openpype/pipeline/creator_plugins.py @@ -36,6 +36,10 @@ class FamilyAttributeValues(dict): self._last_data = copy.deepcopy(values) + @property + def attr_defs(self): + return self._attr_defs + class AvalonInstance: """Instance entity with data that will be stored to workfile. @@ -97,6 +101,10 @@ class AvalonInstance: def data(self): return self._data + @property + def family_attribute_defs(self): + return self._data["family_attributes"].attr_defs + def change_order(self, keys_order): data = collections.OrderedDict() for key in keys_order: