小编Gnn*_*Gnn的帖子

使用 Python 在 Maya 中打开 .ma 文件 (ASCII)?

.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 实现这一点吗?

python ascii maya mel

4
推荐指数
1
解决办法
1万
查看次数

标签 统计

ascii ×1

maya ×1

mel ×1

python ×1