标签:ber setattr set tran 第一章 att cal shape uber
#CubeRig
import maya.cmds as cmds
cube = cmds.polyCube()
cubeShape = cube[0]
circle = cmds.circle()
circleShape = circle[0]
cmds.parent(cubeShape,circleShape)
cmds.setAttr(cubeShape+".translate",lock=True)
cmds.setAttr(cubeShape+".rotate",lock=True)
cmds.setAttr(cubeShape+".scale",lock=True)
cmds.select(circleShape)
Python For Maya_Artist Friendly Programming 学习笔记(第一章)
标签:ber setattr set tran 第一章 att cal shape uber
原文地址:http://www.cnblogs.com/nodegetout/p/6551043.html