Description | Example | Return message | Group

SetPreferences

Set your STK preferences.

Syntax

SetPreferences <ApplicationPath> {Type} {Options}

Related commands

Description

The SetPreferences command enables you to set preferences for STK. The {Type} will indicate the name of a Tab on the UI Edit - Preferences panel. Only one option has been implemented for this command.

When {Type} is General, the valid values for {Options} are:

{Options}Description
ShowSaveOnCloseDialog {Yes | No}Specify whether the Save on Close dialog box will appear when saving a scenario to which changes have been made. If you select No, then the scenario will close with no changes being made. The default value is Yes.
EnableGpuAcceleratedAnalysis {Yes | No}Some analysis features in STK can be accelerated by using the processing power of the computer's graphics card (GPU). Specify whether STK can use the GPU for analysis. If No is selected, the STK will perform the analysis on the CPU. The default value is Yes.

Examples

SetPreferences / General ShowSaveOnCloseDialog Yes

Return message

Group membership

This command belongs to the following group(s):

Application Options

Version

12.10