Oh by the way Chris, as a side note, 

if i then was going to use the positions stored through this list method, to 
move other items to this location with xform. how can, for example, element two 
in the list be isolated and then seperated further int x,y,z eg:

postList = [cmds.pointPosition('pSphere1.vtx[{0}]'.format(x)) for x in 
vertexList]

cmds.xform( 'object1',a=True, t=(postList[2][0],postList[2][1],postList[2][2])

i was trying to find information about extracting from lists. But couldnt find 
how to make it work in the context of another command.

thanks, 
Sam

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/c1e2fef5-05ff-4f59-9df6-d40cd587099d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to