这是我的代码来踢的渲染场景
cmds.batchRender()
cmds.batchRender( r'C:\Users\marvin\Desktop\Proxy\Game\Vegetation\Tree\Tree.mb' )
当我运行它时,我得到的是:
# Error: Object C:\Users\marvin\Desktop\Proxy\Game\Vegetation\Tree\Tree.mb is invalid
# Traceback (most recent call last):
# File "<maya console>", line 1, in <module>
# File "<maya console>", line 21, in renderImage
# TypeError: Object C:\Users\marvin\Desktop\Proxy\Game\Vegetation\Tree\Tree.mb is invalid #
有人能帮我吗
它应该通过使用
filename
命名参数传递文件路径来工作:编辑:这实际上并不能解决问题
相关问题 更多 >
编程相关推荐