Description | Example | Return message | Group

Units_SetConnect

Set units of measure for Connect.

Syntax

Units_SetConnect <AppOrScenPath> {Default | Internal | {Dimension} {Unit}... }

Related commands

Description

The Units_SetConnect command allows you to set Connect units before a scenario has been created. The <AppOrScenPath> can be either the Application path or the Scenario path (if a Scenario has been created).

{Options}Description
{Dimension} {Unit}... Set the units used when entering Connect commands. The only valid dimensions for Connect units are: Distance, Date, Time, Latitude, and Longitude. For other dimensions the GUI units will be used when entering Connect commands, but check the command descriptions for exceptions!
InternalSet the Connect dimensions to the Internal unit values.
DefaultSet the Connect dimensions to the Default unit values

The following table describes the valid Connect units, as well as the default and internal values for each.

DimensionDefaultInternal
DateGregorianUTCEpochSeconds
DistanceMeterMeter
TimeSecondsSeconds
LatitudeDegreeRadians
LongitudeDegreeRadians

Examples

To set the connect Distance unit to statute miles:

Units_SetConnect / Distance "Statute Miles"

To set the Connect units to the Internal values:

Units_SetConnect / Internal

Return message

Group membership

This command belongs to the following group(s):

Application Options

Scenarios

Version

10.1