Preferences

Click the links below for preference reference information.

Distribute Preferences

Use the environment variable, VRED_PREFERENCES_OVERRIDE, and command line parameter, -preferencesOverride, for including a config file containing a subset of preferences to overwrite the local preferences for the session upon startup.

  1. Create an .xml subset preferences file and note its location.

  2. Define the preference file to overwrite the local preferences upon startup, such as:

    <?xml version="1.0"?>
    <!DOCTYPE VRED>
    <message id="0" type="VRED" version="0.80000001">
     <key name="Annotation font color" type="OSGColor4f">1 0 0 1</key>
    </message>
  3. Define the location for the file giving the command line parameter, such as:

    VREDPro.exe -preferencesOverride="e:\\preferences.xml"
  4. Define the location for the file setting the environment variable, such as:

    set VRED_PREFERENCES_OVERRIDE=e:\\preferences.xml
    VREDPro.exe