Advanced Techniques
New Search
   
NL Team

Script

Author: NL Team
Publication: 19/05/2010
Category: Script - Type: Tutorial

Script

“Default” indicates the standard path to the directory where you want to store your custom Python scripts. Each time you want to load a script, RealFlow will guide you to this location. With “…” it’s possible to specify this path and “Default” restores the standard path.

“File” contains the path to the “commandsOrganizer.dat” file. This file contains paths and icons for your custom scripts and is used with RealFlow’s Commands menu. Again, “…” is used to edit the path and “Default” loads the standard settings.

“Auto Suggestions” monitors your input and recognizes Python keywords. Once RealFlow has found such a keyword, a list pops up containing all available and matching commands. You can select the desired instruction and the keyword is completed automatically.

“Insert Function Signature” is closely related to “Auto Suggestions”. With this option enabled, RealFlow prints out the required data type(s) for a Python command, e.g.:

getCamera( string ) or setVelocity( vector )

The data type is printed in brackets and will be substituted by you with an appropriate entry:

getCamera( "SceneCamera01" ) or setVelocity( Vector.new(1.0, 0.0, 0.0) )

Without “Insert Function Signature”, the brackets would be empty, assuming that you already know which data type you have to enter. To find out more about this topic, please read the scripting manual, see Related Tutorials below.



“Auto Syntax Checking (slow)” allows you to control the syntax of a script while writing it. This, of course, requires a certain amount of system resources and can therefore slow down performance.



“Script editor look and syntax highlight” provides a “Customize...” button to open a new window where you can specify all settings for the scripting windows look and feel, and especially syntax highlighting colours, as well as “Tab Size”.