Some how i figure it out, i will post the code snippet here if anyone got
interested
Name of MFnSingleIndexedComponent class confused me
import maya.OpenMaya as om
#Get active list
selList= om.MSelectionList()
om.MGlobal.getActiveSelectionList(selList)
dagpath = om.MDagPath()
sellist.getDagPath
Hi everybody
I want to query the border vertexs of an mesh, then create another
MItMeshVertex from it.
Then i looked into maya's doc and found this constructor might does what i
need :
MItMeshVertex (const MDagPath &polyObject, MObject
&component=MObject::kNullObj, MStatus *ReturnStatus=NULL)