RealFlow Wisdom

RealFlow blog: Tips, Technics and Scripting.

Print your settings

A good way to remember your settings when doing testings is printing them in the preview videos.

Switch on the option  “Show Preview Caption” in the menu  “View”, copy and paste this lines in a new script in the simulationPre tab, you can add whatever parameters you want:

emitter = scene.getEmitter("yourEmitter01")

visc = emitter.getParameter("Viscosity")

st = emitter.getParameter("Surface Tension")

scene.setPreviewCaption("Viscosity: " + str(visc) + "\n" + "Surface Tension: " + str(st))

August 8, 2011 Posted by | GUI, Pipeline, Scripting, Tips | , , , | 3 Comments