# how can i change particle size by id of an already cached simulation?

I imported several simulations i made in realflow and maya, because i found out that blenders wetmaps are extremely faster than other packages and i need to make a lot of them.

I'm completely new to blender but i can grab the hang of it quickly, already have everything setup, i just need to change each particle size randomly depending of their id, i'm thinking with python, in maya i already made similar things, yet i still haven't learned any commands for blender yet, can someone help me please?

Also, would it be possible to delete particles depending on their speed and/or age?

Everything is already cached from the other softwares and i'm just importing them to blender using the realflow addon.

i'm thinking something like this:

particleSystem="nameOfParticles"
particlesList=particleSystem[particles]
frames=xrange(1,100)
for f in frames:
currentFrame(f)
for part in particleList:
randomSeed(part.id)
setAttribute(part.size,rand(0,1))
if (part.velocity>5) or (part.age>2):
delete(part)