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)
ShowUnits <ScenarioPath> {UnitLevel}
Note: 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. |
To obtain the units being used for the current Connect session:
ShowUnits * Connect
ACK
SHOWUNITS 70
DistanceUnit Meter;
TimeUnit second;
DateFormat Gregorian;
Latitude Degrees;
Longitude Degrees;
This command belongs to the following group(s):
10.1
STK Programming Interface 11.0.1