Just filed this in the pymel issue tracker, but posting here to make sure I'm not missing something...
Describe the problem. Accessing per-particle attributes with: partShape.pt[3].position always returns the same value (the value of the first particle), no matter which particle index is used. What Version of Maya are you using? 2014 On what operating system? (be as specific as possible and include servicepacks, 64bit vs 32bit, etc) 64bit SP2 What Version of PyMEL are you using? 201404 What is the expected output? What do you see instead? Expected: the per-particle attribute value for the particle specified Instead: the per-particle attribute value for the first particle If possible, provide a few lines of code to reproduce the problem. It helpsus if your code will reproduce the problem from a new scene. partShape = particle(p=[(0,0,0), (1,2,3)])[1] partShape.pt[1].position # Result: [0.0, 0.0, 0.0] # cmds.particle(query=True, order=1, attribute="position") # Result: [1.0, 2.0, 3.0] # Does maya.cmds exhibit the same problem? No - maya.cmds.particle works as it should. Please provide any additional information below. p.s. - this works as intended in 2012. I'm not sure about other versions. -- 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/d6f208cb-2fe3-4dce-8f96-65978cab42dc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
