Are you running your script from inside the particle loop? this means that currently your script is loaded and compiled at every frame, instead of compiled once with an update entry point like the scripted operator.
This means that unfortunately, you can't have any data inside your script that is persisted during the sequence.
The quickest work around would be to write the particle positions somewhere else at the first frame, and then refer to that for the rest of the simulation.
one option would be to use a file to store the data.
another one, would be to create a dummy object (a spline) with as many points as your particle cloud, and use that to store the positions.
Olivier Ozoux, SOFTIMAGE Special Projects
The opinions expressed in this forum are my own, and might not represent's Avid or SOFTIMAGE official position on the subject.