ProfileItem
Get the profile item values for the specified performance model.
Related Commands
- MissionModeler_RM Aircraft PerfModel Climb GetValue
- MissionModeler_RM Aircraft PerfModel Cruise GetValue
- MissionModeler_RM Aircraft PerfModel Descent GetValue
Syntax
MissionModeler_RM <AircraftObjPath> Aircraft PerfModel "<ModelType>" "<ModelName>" GetValue ProfileItem <Index> [<OutUnit1> <OutUnit2> <OutUnit3> <OutUnit4>]
Description
This attribute is valid for Custom performance models.
"<ModelType>" | Enter the performance model type: Climb, Cruise or Descent. |
"<ModelName>" | Enter the performance model name. |
<Index> | Enter the index of the profile item to be returned. Use the ProfileItemCount attribute to get the number of ProfileItems. |
<OutUnit1> | Enter the unit that the altitude value is entered in. The dimension type is MissionModelerAltitude. |
<OutUnit2> | Enter the unit that the down range value is returned in. The dimension type is MissionModelerDistance. |
<OutUnit3> | Enter the unit that the elapsed time value is returned in. The dimension type is MissionModelerDuration. |
<OutUnit4> | Enter the unit that the fuel value is returned in. The dimension type is MissionModelerFuelQuantity. |
If no OutUnit values are entered, then the output values are returned in internal units. Otherwise all four OutUnit values must be entered.
Return Value
<Altitude> <DownRange> <ElapsedTime> <Fuel>
The values are returned in the specified units, or in internal units if no units are specified.
Examples
MissionModeler_RM */Aircraft/Aircraft1 Aircraft PerfModel "Descent" "DescAc2" GetValue ProfileItem 4
MissionModeler_RM */Aircraft/Aircraft1 Aircraft PerfModel "Climb" "Climb34" GetValue ProfileItem 1 ft nm sec lb
MissionModeler_RM */Aircraft/Aircraft1 Aircraft PerfModel "Cruise" "Cruise35000" GetValue ProfileItem 2