Units_SetConnect
Set units of measure for Connect.
Syntax
Units_SetConnect <AppOrScenPath> {Default | Internal | {Dimension} {Unit}... }
Related Commands
Description
The Units_SetConnect command allows the user 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! |
| Internal | Set the Connect dimensions to the Internal unit values. |
| Default | Set 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.
| Dimension | Default | Internal |
|---|---|---|
| Date | GregorianUTC | EpochSeconds |
| Distance | Meter | Meter |
| Time | Seconds | Seconds |
| Latitude | Degree | Radians |
| Longitude | Degree | Radians |
Example
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
ReturnMessage
Group Membership
This command belongs to the following group(s):
Version
10.1
Visit AGI.com