Add a procedure to the MissionModeler Aircraft object.
MissionModeler <AircraftObjPath> Procedure Add {Before | After | AsFirst | AfterLast} [<Index>] SiteType <SiteType> [SiteSource <SiteSource> SiteName <SiteName>] ProcedureType "<ProcedureType>
{Before | After | AsFirst | AfterLast} | Specify whether to add a procedure before or after the
procedure specified by <Index>. If AsFirst or AfterLast is
entered then the <Index> must not be included in the
command. AsFirst must be used to add the first procedure in the mission. |
[<Index>] | Enter the index of the neighboring procedure, when adding a procedure Before or After. |
SiteType <SiteType> | Enter the type of Site for the new procedure. Valid values are
Runway, Waypoint, "VTOL Point", "Runway from Catalog", "Waypoint
from Catalog", "VTOL Point from Catalog", "End of previous
procedure". For details on Site Types go to Site SetValue |
[SiteSource <SiteSource> SiteName <SiteName>] | Include this sequence if you are adding a site from a catalog. Specify the catalog name (<SiteSource>) and <SiteName> for the site. <SiteSource> and <SiteName> must be enclosed in double quotes if they contain spaces. |
ProcedureType "<ProcedureType>" | Enter a type of the new procedure. Valid values for
"<ProcedureType>" are ArcEnroute, Basic Point to Point,
Enroute, Holding - RaceTrack, Holding - Circular - Holding -
Figure-8, Hover, Hover Translate, Landing, Takeoff, Terrain
Following, Transition to Forward Flight, Transition to Hover,
Vertical Landing, Vertical Takeoff. For details on Procedure Types go to Procedure SetValue |
Use the following sequence of commands to create the Mission Modeler Aircraft1 and add three procedures:
New / */Aircraft Aircraft1
SetPropagator */Aircraft/Aircraft1 MissionModeler
MissionModeler */Aircraft/Aircraft1 Procedure Add AsFirst SiteType Runway ProcedureType "Takeoff"
MissionModeler */Aircraft/Aircraft1 Procedure Add After 1 SiteType Waypoint ProcedureType "Holding - Figure-8"
MissionModeler */Aircraft/Aircraft1 Procedure Add AfterLast SiteType Runway ProcedureType "Landing"
Use the following command to add a procedure, using a site from a catalog:
MissionModeler */Aircraft/acFighter Procedure Add AsFirst SiteType "Runway from Catalog" SiteSource "User Runways" SiteName Runway24 ProcedureType Takeoff
STK Programming Interface 11.0.1