Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can easily load and open scripts with the file picker. When RealFlow opens a script or "Graph", it does not check if the content is plausible or even contains a Python script, because that is up to you. As long as the file content is readable for RealFlow, it can be loaded in the editor.

...

Especially with scripts it is often required to store intermediate versions or tests. It is also a good idea to make backup copies of your scripts. Batch scripts must always be stored before you decide to close a project, because they are not saved with a scene and must be saved externally. Once you have close the Batch script window, the program is lost/"Graphs". The usage should be familiar: just assign a new name to each version and store it with “Save As...”.

Scripting

...

Preferences… (only available for scripts)

With this entry you can directly go to the appropriate section of RealFlow’s "Preferences" and adjust things like colours or fonts. There is a detailed description of the various functions with RealFlow's scripting editorsprogramming editors.

Graphs Preferences… (only available for "Graphs")

With this entry you can directly go to the appropriate section of RealFlow’s "Preferences".

Edit

“Edit” provides everything you need for a fast workflow while writing scripts. Nevertheless you should be a little careful when pasting scripts from other sources, because of indents and leading spaces. You can also see powerful functions for finding and replacing words or phrases here.

...

Indents and leading spaces are very important concepts in Python. The first option works similar to the Tab key on your keyboard, the second one removes a tab.

...

An example: You have written a Python script and added it to the "FramesPre" section. At the end of the script there is a "scene.simulate()" command command. A situation like that is an integrity violation and when you perform this check, RealFlow will complain and display a warning message.

...

With this function it is possible to remove all nodes from the canvas. Please bear in mind that RealFlow does not ask for confirmation if when you execute this command.

...