maya mel run in the pymel

maya mel run in the pymel

Foreword

  maya mel itself defines a number of useful ways, when we use pymel development, do not want to re-write it again mel has some features, it can be run in pymel in mel

 

import maya.mel as mel

melCmdStr = 'changeSelectMode -component;'

mel.eval(melCmdStr)

Guess you like

Origin www.cnblogs.com/ibingshan/p/11572308.html
run