Just second day of learning scripting in Python RF.
I want to create something like k Volume Daemon, but i want it only in one direction and i don't want it with sharp boarder.
I want particles to remove randomly in time.
So i have wrote this:
Code: Select all
emiter = scene.get_DY_Emitter("DY_Emitter01")
czasteczka = emiter.getFirstParticle()
pozycja = czasteczka.getPosition()
position_x = pozycja.getX()
los = random.uniform (0, 10)
if ((position_x > 1) and (los < 1)):
czasteczka = czasteczka.getNextParticle()
When i use standard particles, everything runs ok, but when i use DY_Emitter i got an error with "getFirstParticle()"
What's the problem ? Does DY_Emitter have particles ID ?
And the second problem... To write this little script i needed to explore allot of forums sites to find and understand the commands that i need.
It would be alot easier, if there would be just compedium of all commands with nice search engine.
Cant find anything by this help on site :http://support.nextlimit.com/display/rf2015docs/RealFlow+2015+Documentation
I was trying to use program help- Help/Realflow help... i'm find commands by index search, but when i'm try to read obuut it i got only blank page with "Loading..." . Why my help is not loading ?