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&gt;5) or (part.age&gt;2):
            delete(part)
If you want to change the size of a particle randomly you can go to the physics tab in a particle system and change the random value.



If you want to look at the operators in python you can go to this link

Python blender reference

If you want to delete a particle based on their age you can change the lifetime of the particle in the emission tab