...
The reason is that the corresponding field from GUI hands over an integer instead of a string, for example “Circle” or “Cylinder”. This selected emitter type is translated into a number and then used to find the corresponding entry in the “emitteremitter_
types” types
list. With “particle_types” it is exactly the same mode of operation.
...
With the execution of the last statement, the emitter appears under "Nodes" with all previously defined settings and the script is finished. A program like that is perfectly suited for the batch scripts window. Another idea would be to add it to RealFlow’s scripts toolbar with a nice icon. From there it can be launched with a single mouse click.