from maya import cmds
# Activar TagControl
sel = cmds.ls(sl=True)
def activarTag():
for earch in sel:
cmds.controller(each)
cmds.setAttr(each + '_tag' + '.visibilityMode', 2)
# Desactivar TagControl
def desactivarTag():
sel = cmds.ls(sl=True)
for each in sel:
cmds.controller(each)
cmds.setAttr(each + '_tag' + '.visibilityMode', 0)
Script para activar y desactivar Tag Control
0respuestas sobre "Tag Control Script"