目录
maya sdk下载:
Maya API | Autodesk Platform Services (APS)
maya测试代码:
import maya.cmds as cmds
import maya.standalone
if __name__ == '__main__':
cmds.polyCube()
maya.standalone.initialize(name="python")
报错:
module 'maya.cmds' has no attribute 'polyCube'
解决方法,添加sdk依赖库