Set units to the internal STK values (Deprecated Command)
SetInternalUnits <ScenarioPath> {UnitOption}
Note: 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 |
Note: All Connect angle values are entered in degrees.
To set the GUI to use the STK internal units:
SetInternalUnits * GUI
To set the Connect specific internal units:
SetInternalUnits * Connect
If activated, Connect returns an acknowledgement message.
This command belongs to the following group(s):
10.1
STK Programming Interface 11.0.1