Scripting Options

There are several options that you can set to customize your RhinoScript environment.  These options from either Rhino's Tools menu, or by entering "Options" on Rhino's command line.

 

rhinooptions.jpg

RhinoScript options

Reinitialize

If the reinitialize options is selected, then all script subroutines, functions, classes and variables loaded during a modeling session will be erased upon opening a new Rhino model.  If the option is not selected (default), then any all script subroutines, functions, classes and variables loaded during a modeling session will be retained when a new model is opened.

Startup

The startup options allows you to specify one or more script files that will be automatically loaded every time you run Rhino. Using startup scripts is also a great way to ensure the commonly used utility functions - functions that are used by more than one script in more than one script file - are always loaded and read for use. Note, if the reinitialize option is selected, then the startup file will be loaded every time a new model is opened.  Also note, if relative paths are specified, Rhino will search for the startup script files in the following locations:

 

1. The current model's folder.

2. Every folder listed in Rhino's user-defined search path. (Use the Options command (Files page) to either view or modify this path.)

3. All Rhino system folders.

4. The Rhino executable folder.