考慮下面的PyMEL腳本。它基本上稱爲現有的MEL功能。 from pymel import *
message = "Are you sure you want to clean the scene? (Nodes will be removed.)"
do_clean = core.windows.confirmBox("Scene clean", message)
if do_cl
我想區分的Python libraries available in Maya: MEL(嵌入式瑪雅語) 瑪雅Python庫(maya.cmds,也maya.standalone和maya.mel.eval) PyMEL[*]( pymel.core等) Maya Python A PI 1.0(maya.OpenMaya) 瑪雅的Python API 2.0(maya.api.OpenMaya)