I want to get list of vertex list without selecting vertex.
How can I get from selecting  object mode?

I tried to write python script below

selObjs=mc.ls(sl=True)
srcVts=mc.ls((selObjs[0]+'.vtx["*"]'),fl=True)

but maya call back error # RuntimeError: Invalid attribute index: 
pSphere2.vtx["*"] # 

When I wrote MEL script like

ls -fl pSphere2.vtx["*"];

I could get the list of vertex.
Anyone  help me how to write in Python doing same thing.

Thanks

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to