cmds.addExtension(nodeType='mesh', shortName='ms', longName='mass',
defaultValue=1, minValue=0.001, maxValue=100)
为mesh类型的节点添加mass属性, 不管是已经有的mesh节点还是以后创建的mesh节点,
cmds.cutKey('cube1', time=(10,20), attribute='translateX', option='keys')
剪切cube1.translateX的关键帧10到20之间
cmds.listSets(type=1, object='coneShape1')
列出场景里包含物体coneShape1的渲染set节点,(基本可以看做为找shadingEngine节点)
cmds.sets('set1',q=True)
列出集合set1的所有子元素
cmds.ls(sl=True, dag=True, visible=True, type='mesh')
列出拾取节点(包括)下的所有显示的mesh的dag节点(递归)
cmds.listRelatives('gro