maya cmds pymel selectType() 选择类型切换
import maya.cmds as cmds
import maya.mel as mel
mel.eval('changeSelectMode -component;')
sels = cmds.ls(sl = 1, o = 1)
cmds.hilite(sels)
cmds.selectType( polymeshFace = True ) # 网格面模式
cmds.selectType( vertex = True ) # 网格点模式
其它模式参考帮助文档