def uvsetNew(self, attrName): cmds.setUITemplate('attributeEditorPresetsTemplate', pushTemplate=True) aeUtils.attrTextFieldGrp('aiImageUVSet', label='UV Set', attribute=attrName, changeCommand=AEaiImageTemplate.editUVSet) cmds.setUITemplate(popTemplate=True)
def uvsetReplace(self, attrName): try: aeUtils.attrTextFieldGrp('aiImageUVSet', edit=True, attribute=attrName, changeCommand=AEaiImageTemplate.editUVSet) except: pass