Thank you, I'll have to stare at that for a while ;)
I think I've been staring at this too long now, but how do I loop on something
like pCube1.vtx[14:16]? or better yet, flatten that?
my vertex list looks like this:
[u'pCube1.vtx[14:16]', u'pCube1.vtx[20:22]', u'pCube1.vtx[26:27]']
so when I loops over the vertex list to get pos, I only get 3 vertex positions,
instead of 23.
pCube1.vtx[14:16]
[-0.809902191162, -0.809902191162, 4.04951095581]
pCube1.vtx[20:22]
[-0.809902191162, 0.809902191162, 4.04951095581]
pCube1.vtx[26:27]
[-0.809902191162, 2.42970657349, 4.04951095581]
Thanks,
Kev
--
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/026aade1-8f24-45ee-8ee3-85b374e286dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.