Notifications
Clear all

[Closed] Looping through particles in pflow

Hey guys,

I’m a noob with pflow so I’ve got a very basic question for you. I need to loop through particles in pflow to get their position.
They way to do this, as far as I know, is to set the particle index first and then get the particle position property.
This however seems to take a very, very long time. I mean it works, I’m just wondering if this the proper way to do it? Is there a way to maybe get all the particle size’s at the same time and thus reducing the time it takes to set the particle index? Any tips I should keep in mind to speed up the process? It just seems sketchy that such a simple thing could take so long.

Thanks,
Norman

2 Replies

add a script_test to particle system and use proceed script…

does it make sense for you?
(search mxs help for Script Operator Example)

This seems to work! Much faster indeed. Thanks again denisT!