SetInternalUnits
Set units to the internal STK values (Deprecated Command)
Syntax
SetInternalUnits <ScenarioPath> {UnitOption}
ATTENTION: THIS COMMAND IS DEPRECATED and has been replaced by:
Units_SetDescription
This command was deprecated in STK 10.1, it should no longer be used. This command has been replaced by the Units_Set command.
Valid values for {UnitOption} can be Report, GUI, Connect, ConnectReport or MissionModeler.
If {UnitOption} is Report, GUI or ConnectReport the units will be set as follows:
| Dimension | Internal Unit |
|---|---|
| Angle | Radians |
| Bandwidth | Hertz |
| Bits | Bits |
| Date | EpochSec |
| Distance | Meter |
| DopplerVelocity | MetersPerSecond |
| Duration | Second |
| Force | Newton |
| Frequency | Hertz |
| Latitude | LatRadians |
| Longitude | LonRadians |
| MagneticField | Tesla |
| Mass | Kilogram |
| Percent | Unit |
| Power | Watt |
| PowerFluxDensity | WattsPerArea |
| PowerSpectralDensity | DecibelPerHz |
| Pressure | Pascal |
| PRF | PRFHertz |
| Ratio | Decibel |
| Rcs | Decibel |
| SARTimeResProd | MetersPerSecond |
| SmallDistance | Meter |
| SmallTime | Second |
| SolidAngle | Steradians |
| SpectralDensity | WattsPerHertz |
| Temperature | Kelvin |
| Time | Second |
If {UnitOption} is MissionModeler, the specific units will be set as follows:
| Dimension | Internal Unit |
|---|---|
| MissionModelerAltitude | Meter |
| MissionModelerAngleOfAttack | Radians |
| MissionModelerAttitudeAngle | Radians |
| MissionModelerBearingAngle | Radians |
| MissionModelerDistance | Meter |
| MissionModelerForce | Newton |
| MissionModelerFuelQuantity | Kilogram |
| MissionModelerG | SeaLevelG |
| MissionModelerPower | Watt |
| MissionModelerPSFC | kg/sec/W |
| MissionModelerRunwayLength | Meter |
| MissionModelerTime | Second |
| MissionModelerTSFC | kg/sec/N |
If {UnitOption} is Connect, the Connect specific units will be set as follows:
| Dimension | Internal Unit |
|---|---|
| Distance | Meter |
| Time | Second |
| Date | EpochSec |
| Latitude | LatDegrees |
| Longitude | LonDegrees |
All Connect angle values are entered in degrees.
Example
To set the GUI to use the STK internal units:
SetInternalUnits * GUI
To set the Connect specific internal units:
SetInternalUnits * Connect
ReturnMessage
Group Membership
This command belongs to the following group(s):
Version
10.1
Visit AGI.com