如何使用python打开硬件纹理?

时间:2019-03-07 17:09:32

标签: python maya

我在MEL中知道,要执行此操作

modelEditor -e -displayTextures true modelPanel4;

我将如何在python中获得相同的确切结果?

1 个答案:

答案 0 :(得分:1)

cmds.modelEditor('modelPanel4', e=True, displayTextures=True)

该命令的更多帮助: https://download.autodesk.com/us/maya/2008help/CommandsPython/modelEditor.html