我在MEL中知道,要执行此操作
modelEditor -e -displayTextures true modelPanel4;
我将如何在python中获得相同的确切结果?
答案 0 :(得分:1)
cmds.modelEditor('modelPanel4', e=True, displayTextures=True)
该命令的更多帮助: https://download.autodesk.com/us/maya/2008help/CommandsPython/modelEditor.html