Description | Example | Return message | Group

AltitudeRef

Set the altitude reference for a Great Arc vehicle.

Syntax

AltitudeRef <VehObjectPath> {AltRefOption} <Parameters>

Related commands

Description

The AltitudeRef command allows you to set the altitude reference for a vehicle.

This command is only valid for Great Arc vehicles.

The following table describes {AltRefOption} and <Parameters>:

{AltRefOption}<Parameters>Description
RefMSLSet the altitude reference to mean sea level.
TerrainSet the altitude reference to the terrain.
WGS84Set the altitude reference to the central body's reference ellipsoid.
TerrainGran<GranValue>The Granularity value which is a real number between 1.0m and 600000m, entered in Connect distance units.

The smaller the granularity value, the longer it will take to process the vehicle.

InterpMethodEllipsoidHeightInterpolate using the greatArc interpolator without considering terrain at all. (This is the default method.)
TerrainHeightAssigns a height above terrain by a linear interpolation between the heights above terrain at the waypoints.
OnTerrainAssumes that the waypoints are on the terrain (0.0 height) and the interpolated points should also be on terrain.

Examples

To set the altitude reference for Aircraft1 to mean sea level:

AltitudeRef */Aircraft/Aircraft1 Ref MSL

To set the altitude reference for Aircraft1 to terrain level and set the terrain sampling rate to 10 km:

AltitudeRef */Aircraft/Aircraft1 TerrainGran 10000

To set the altitude reference interpolation method for Aircraft1 to "on terrain":

AltitudeRef */Aircraft/Aircraft1 InterpMethod OnTerrain

To set the altitude reference for Aircraft1 to Terrain, and the granularity to 7.75 km

AltitudeRef */Aircraft/Aircraft1 Ref Terrain TerrainGran 7750.0

Return message

Group membership

This command belongs to the following group(s):

2D Object Graphics

Vehicles

Version

6.0