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}
ATTENTION: THIS COMMAND IS DEPRECATED and has been replaced by:
Units_GetDescription
This command was deprecated in STK 10.1, 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 |
---|---|
Connect | Returns units being used to transfer data during the Connect session. Units only include date, distance, time, latitude and longitude. |
GUI | Returns default units set for the current scenario |
Report | Returns units used to generate and display reports |
ConnectReport | Returns units that are used to generate and display reports that are created via Connect. |
Example
To obtain the units being used for the current Connect session:
ShowUnits * Connect
ReturnMessage
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):
Version
10.1