SetAltComputeMinWidth

Set the altitude and return the minimum width value.

Related Commands

Syntax

MissionModeler_RM <AircraftObjPath> Procedure <Index> GetValue SetAltComputeMinWidth <Altitude> <AltUnit> [<Unit>]

Description

This method will set the holding altitude to the value entered, and then compute the minimum width.

<Index> Enter the index of the procedure.
<Altitude> Specify the altitude for which the minimum width is to be computed.
<AltUnit> Specify the unit that the <Altitude> value is entered in. The dimension type is MissionModelerAltitude.
[<Unit>] Specify the unit that the minimum width value is returned in. This parameter is optional, the default unit is meters (m). The dimension type is MissionModelerDistance.

For valid results the mission must be calculated before sending this command (for more information see MissionModeler). To calculate the mission send the following commands:

MissionModeler_RM <AircraftObjPath> ConfigureAll
MissionModeler_RM <AircraftObjPath> CalculateAll
MissionModeler_RM <AircraftObjPath> SendNtfUpdate

Return Value

A real value indicating the minimum width, in the unit specified or in meters.

Examples

MissionModeler_RM */Aircraft/Aircraft1 Procedure 2 GetValue SetAltComputeMinWidth 21000 ft

MissionModeler_RM */Aircraft/Aircraft1 Procedure 2 GetValue SetAltComputeMinWidth 21000 ft ft