DEVILSAN
11-25-2012, 05:43 AM
I am trying to set key by
cmds.button(l='Set Key', c=maya.cmds.setKeyframe)
and before that I have to select hierarchy so i call this function
def selectHierarchy(self,*args):
maya.cmds.ls(sl=True)
maya.cmds.select(hi=True)
but on clicking set key button i get error saying
# Error: No object matches name: False
# ValueError: No object matches name: False #
how do i set key by after selecting the hiearchy?
cmds.button(l='Set Key', c=maya.cmds.setKeyframe)
and before that I have to select hierarchy so i call this function
def selectHierarchy(self,*args):
maya.cmds.ls(sl=True)
maya.cmds.select(hi=True)
but on clicking set key button i get error saying
# Error: No object matches name: False
# ValueError: No object matches name: False #
how do i set key by after selecting the hiearchy?
