如何使用 python 打开硬件纹理?
How to turn on Hardware texturing using python?
我知道在 MEL 中,要做到这一点你必须做
modelEditor -e -displayTextures true modelPanel4;
在 python 中我应该怎么做才能获得完全相同的结果?
cmds.modelEditor('modelPanel4', e=True, displayTextures=True)
命令的更多帮助:
https://download.autodesk.com/us/maya/2008help/CommandsPython/modelEditor.html
我知道在 MEL 中,要做到这一点你必须做
modelEditor -e -displayTextures true modelPanel4;
在 python 中我应该怎么做才能获得完全相同的结果?
cmds.modelEditor('modelPanel4', e=True, displayTextures=True)
命令的更多帮助: https://download.autodesk.com/us/maya/2008help/CommandsPython/modelEditor.html