.ma我正在尝试在 Python 脚本末尾打开一个 Maya 场景,
路径看起来像这样:G:\ProjectPath\Scene.ma。
但我知道的唯一命令是 MEL 命令:
file -f -options "v=0; p=17; f=0" -ignoreVersion -typ "mayaAscii" -o
"G:/ProjectPath/Scene.ma";
addRecentFile("G:/ProjectPath/Scene.ma", "mayaAscii");
Run Code Online (Sandbox Code Playgroud)
有人知道如何用 Python 实现这一点吗?