puneflash
01-03-2007, 03:51 AM
Is there any way I can control the max particles emitted through emitter using python scripting?
Nojoy
01-03-2007, 08:50 AM
I think its possible. I stumbled over a script from highend the other day wich could take advantage of python scripting inside of maya. Take a look at this link here. Note that it interferes with other plugins that use python. Hope this helps a little :)
http://www.highend3d.com/maya/downloads/plugins/utility_external/misc/pyfilterExperimental-4456.html
sunder
01-03-2007, 08:58 AM
You can use setParameter like this
emitterName.setParameter("Max particles",10000)
You can also try a brute force method of removing (or adding) particles till you reach a certain particle count.