Description | Example | Return message | Group

ShowUnits

Get the current units of measure being used for entering data via the interface, displaying data in reports or entering data via the Connect socket (Deprecated Command)

Syntax

ShowUnits <ScenarioPath> {UnitLevel}

This command is OBSOLETE and has been replaced by: Units_Get

Description

This command was deprecated in STK 10.1, and made obsolete in STK 12, it should no longer be used. This command has been replaced by the Units_Get command.

The ShowUnits command returns the units of measure being used at the {UnitLevel} specified.

{UnitLevel} can be:

{UnitLevel}Value
ConnectReturns units being used to transfer data during the Connect session. Units only include date, distance, time, latitude and longitude.
GUIReturns default units set for the current scenario
ReportReturns units used to generate and display reports
ConnectReportReturns units that are used to generate and display reports that are created via Connect.

Examples

To obtain the units being used for the current Connect session:

ShowUnits * Connect

Return message

If you requested a list of units to be used for transferring data during the current Connect session, Connect would return a message similar to:
ACK SHOWUNITS 70 DistanceUnit Meter; TimeUnit second; DateFormat Gregorian; Latitude Degrees; Longitude Degrees;

Group membership

This command belongs to the following group(s):

Obsolete Commands

Version

12