FAQ - Scripting

How do I place or load python scripts into the GUI version of RealFlow?
What is a script?
Scripting is basic programming. Some advanced programmers have created a special type of programming language with several functions and utilities. Scripting tools allow users to program their own tools (within certain limits), overcome program limitations, or create solutions for specific scenes. You can apply Python language scripts to five areas of RealFlow: batch processes, events, daemons, waves, and fluids. Next Limit has designed a full palette of functions that gives users almost total control over simulations.
What is batch scripting?
Batch scripting is a quick way to to check if a script is working correctly. It will be removed when RealFlow is shut down. With this simple example you can get a list of names quickly. Open the "Batch Script" editor and copy/paste the script to the empty canvas. Then, hit "Run":
 
nodes= scene.getNodes()
for element in nodes:
    scene.message(str(element.getName())
Where I can download scripts for my simulation?
Please visit the "RealFlow Resources" page. There you will find numerous scripts available for download. 
Are the old RealFlow4 Python scripts compatible with the latest versions of RealFlow?
RealFlow 4 scripts should work in many cases, but some commands have changed with new releases. Please visit the "Contents" entry from the "Help" menu and open the "Scripting Reference" for a complete overview of the available commands and how to use them.
Where is RealFlow4's "Events Script Window"? I cannot find it in my version RealFlow.

Please load Layout > Simulation Flow. There, you will find the "Master" tab that substitutes the RealFlow 4 "Events Script" window and maintains compatibility for old RealFlow 4 scenes containing scripts loaded on the "Events Script" window.