Looping with the for ... in
method is one of the most important concept concepts with RealFlow scripts, because this technique makes it possible to address individual particles, objects, simulation nodes, parameters, vertices, etc. Furthermore it is possible to count things, create indices, and many more
The notation is basically always the same, and only the type of scene element changes. Here are three examples:
...