SMS:Settings Files *.ini: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
mNo edit summary
 
Line 20: Line 20:
* [[SMS:File Formats|File Formats]]
* [[SMS:File Formats|File Formats]]


{{Template:SMSMain}}
 
{{Template:Navbox SMS}}

Revision as of 17:14, 14 November 2012

Settings, or INI, files store all of the settings that the user sets inside of SMS. For example, the user defined display options, the coordinate system, mesh, grid, and scatter options, etc. are stored in the file. These files should not be confused with the old .ini files that were previously used as FESWMS Initial Condition files.

SMS.INI

The main settings file, called sms.ini, is created when SMS is started for the first time. The file is then opened every time SMS starts. When the user makes a change, such as setting mesh nodes to draw in blue, the change is permanently saved by invoking the File | Save Settings command, which updates the sms7.ini file. If the user deletes the sms7.ini, the next time that SMS begins, the settings will be reset to the factory defaults.

Other Settings Files

Settings files are also saved with a project file. The next time a project is loaded into SMS, the project settings are restored and the SMS environment returns to its saved state.

File Format

Settings files are ASCII text files. Each SMS setting is stored with a keyword and a value. For example:

Show Welcome Dialog=0

signifies that SMS will not show the welcome dialog on startup.


Related Topics