Settings Files

Many controls are available to change settings that affect the drawing and the program. Settings get stored in several places such as the registry, the drawing file and the settings file.

Registry Settings

The registry is a database provided by Windows for the purpose of storing application settings. Developers are encouraged to store application settings in the registry database.

Many of the dialog boxes store and retrieve their settings from the registry.

Licensing information is stored in the registry.

Drawing Settings

Some settings are stored in each drawing file. These settings are generally limited to settings that are required to properly restore the drawing between sessions. Settings restored from the drawing file override all other setting initializations.

The default properties elements are not stored in the drawing.

Settings File

The settings file provides a location for storing settings between drawing sessions. Default properties elements are stored in the settings file.

Many different settings files can be created. To save settings to the default file, use the Save Settings command. To save settings to a file of your choice, use the Save Settings As... command.

A settings file loaded during the file open process overrides program default settings but does not override settings stored in the drawing file.

Note: A settings file that is loaded after a drawing is opened overrides all corresponding settings in the drawing.

Load Sequence

When a new drawing is created or an existing drawing is opened, settings are initialized from several sources. The program initializes all values to a valid default. Settings can be loaded from a settings file. Settings are loaded from the existing drawing file.

For a new drawing, the following takes place:

  1. Settings are initialized to internal program defaults.

  2. Settings are loaded from a configured settings file. Thus, only settings that are later stored in the file will override program defaults.

For an existing drawing being opened, the following takes place:

  1. Settings are initialized to internal program defaults.

  2. Settings are loaded from configured settings files.

  3. Settings are loaded from drawing files. Thus settings that are stored in the drawing will override all other setting initializations.

Load Settings

Settings are loaded from a selected settings file. All settings that are loaded override corresponding drawing settings.

The settings file loaded when the New or Open menu items are chosen can be configured. By default, the last settings file saved is the default settings file. You may also choose to use program defaults, in which case no settings file is loaded during New and Open. A settings file of your choice can also be employed once its location has been specified.

The Save Settings command preserves the current settings under a default file name. The name is shown on the file options dialog box. The configuration of the startup settings file does not affect the location of the settings that are stored by the Save Settings command.