Maya Python.batchRender显示“文件无效”

2024-10-02 22:35:30 发布

您现在位置:Python中文网/ 问答频道 /正文

这是我的代码来踢的渲染场景

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 # 

有人能帮我吗


Tags: gametreeobjectismbusersfileproxy