def test_listattr(self):
cmds.file(new=True, f=True)
cube = cmds.polyCube()[0]
m = mtn.M(u"pCube1")
m.listAttrStr("rotateQuaternion", "selectHandle")
m.listAttrStr("pCube1.rotateQuaternion", "pCube1.selectHandle")
m.listAttrStr(array=True)
m.listAttrStr("rotateQuaternion", "selectHandle", array=True)
m._listAttr("rotateQuaternion", "selectHandle")
m._listAttr("pCube1.rotateQuaternion", "pCube1.selectHandle")
m._listAttr(array=True)
m._listAttr("rotateQuaternion", "selectHandle", array=True)
评论列表
文章目录