在V-ray的帧缓冲区中访问“自动保存”属性

问题描述 投票:1回答:1

我正在研究一个需要检查V-ray帧缓冲区属性复选框状态的Python脚本 - 历史设置,在Autodesk Maya中使用Auto save。我无法找到MEL / Python命令来访问此设置。

谢谢。

enter image description here

python maya mel
1个回答
0
投票

我想Auto save属性的另一个名字是Show/Hide VFB history,如果你试图以编程方式访问它。

这是一个Python代码:

import maya.cmds as mc

mc.vray("vfbControl", "-history", 1)
mc.vray("vfbControl", "-history", 0)

当然,MEL相当于:

vray vfbControl -history true;
vray vfbControl -history false;

您可以在这里检查所有属性:Controlling the VFB Programmatically

© www.soinside.com 2019 - 2024. All rights reserved.