2D Graphics Window
Connect commands are available to control the display of objects and the view in the 2D Graphics window.
Command | Format | Description | Version |
---|---|---|---|
3DTiles | 3DTiles <ScenarioPath> Analysis {AddTileset | RemoveTileset} <Option> | Register and unregister a 3D tileset for STK to use in Access Constraint analysis. | 12 |
AllowAnimationUpdate | AllowAnimationUpdate <ScenarioPath> {On | Off | Toggle} | Controls whether the 2D Graphics and 3D Graphics windows refresh | 6.1 |
AnimFrameRate | AnimFrameRate <ScenarioPath> | Return the current scenario's frame rate during animation | 4.0 |
Animate | Animate <ScenarioPath> {AnimateOption} <Parameters> | Direct animation of a scenario | 10.1 |
Async2DKeyboard | Async2DKeyboard <ScenarioPath> {On | Off} | Return a string indicating which keys on the keyboard are pressed | 5.0 |
Async2DPick | Async2DPick <ScenarioPath> {State} <Parameter> | Return the object name or lat/lon coordinates of a point clicked in a 2D Graphics window | 7.0 |
BatchGraphics | BatchGraphics <ScenarioPath> {On | Off} [Optimize] | Set performance response of the 2D and 3D Graphics windows | 4.2 |
ExportMapStyles | ExportMapStyles <ScenarioPath> {Options} | Export map styles. | 6.1 |
GetAnimTime | GetAnimTime <ScenarioPath> | Return the current animation time | 4.0 |
GetAnimationData | GetAnimationData <ScenarioPath> {Option} | Return information about the animation settings. | 11.5 |
GetMapStyles_R | GetMapStyles_R <ScenarioPath> | Return a list of map styles. | 6.1 |
Graphics AsyncPickReturnUnique | Graphics <ScenarioPath> AsyncPickReturnUnique {On | Off} | Set flag to only return unique objects when using the Async2DPick command. | 6.1.2 |
Graphics BackgroundImage | Graphics <ScenarioPath> BackgroundImage {Options} | Set background image options for the 2D Graphics window. | 12 |
Graphics BingMapsLogo | Graphics <ScenarioPath> BingMapsLogo {Options} | Specify the location of the Microsoft Bing™ Maps logo. | 10 |
Graphics GlobalAttributes | Graphics <ScenarioPath> {AttributeOption} {On | Off | <Value>} | Specify whether or not STK displays a given attribute in the 2D Graphics window. | 12.8 |
Graphics ImageInlay | Graphics <ScenarioPath> ImageInlay "<FilePath>" {ImageOption} <Value> [{ImageOption} <Value>...] | Set properties for an inlay image on a 2D Graphics window | 11.6 |
Graphics Nightlights | Graphics <ScenarioPath> Nightlights {DisplayOptions} | Set options for displaying night lights in the 2d Graphics window | 11.6 |
Graphics SetAccessGfx | Graphics <ObjectPath> SetAccessGfx {AccessObject} {AccessGfxOptions} | Set access graphics for an object or for all objects in a scenario | 12 |
Graphics_R ImageInlay | Graphics_R <ScenarioPath> ImageInlay [WindowID <WinNumber>] | Return name and display order for inlay images on a 2D Graphics window | 11.2 |
ImportMapStyles | ImportMapStyles <ScenarioPath> {Options} | Import map styles. | 6.1 |
Lighting | Lighting <ScenarioPath> {LightingType} {DisplayOptions} | Set lighting transition line and area display options. | 10 |
Lighting DisplayAltitude | Lighting <ScenarioPath> DisplayAltitude <AltitudeValue> [WindowID <WinNumber>] | Control the altitude from which regions of umbra, penumbra and sunlight are depicted during animation | 6.0 |
Lighting SubSolarPoint | Lighting <ScenarioPath> SubSolarPoint {DisplayOption} <Value> [<DisplayOption2> <Value2>...] | Display the subsolar point during animation | 6.0 |
MapAnnotation Add | MapAnnotation <ScenarioPath> Add <AnnotNum> {AnnotType} [<Parameters>] | Adds annotations to the 2D Graphics window | 10 |
MapAnnotation Delete | MapAnnotation <ScenarioPath> Delete {<AnnotNum> | All} [WindowID <WinNumber>] | Delete map annotations from the 2D Graphics window | 6.0 |
MapAnnotation Export | MapAnnotation <ScenarioPath> Export "<FilePath>" [WindowID <WinNumber>] | Export map annotations to a file | 6.0 |
MapAnnotation Modify | MapAnnotation <ScenarioPath> Modify <AnnotNum> {Option} <Parameters> | Modify previously added map annotations | 6.0 |
MapAnnotation_RM | MapAnnotation_RM <ScenarioPath> {Option} [WindowID <WinNumber>] | Return information about map annotations. | 10.1 |
MapAttribs | MapAttribs <ScenarioPath> {AttributeType} {Attribute} {State} [<Color>] | Control the graphical attributes of the 2D Graphics window | 10 |
MapDetails | MapDetails <ScenarioPath> {DetailOption} <Parameters> | Control the type and resolution of details displayed in the 2D Graphics window | 11.6 |
MapGraphics AspectRatio | MapGraphics <ScenarioPath> AspectRatio Always2To1 {On | Off} [WindowID <WinNumber>] | Set the map aspect ratio to be used on the 2D Graphics window | 7.1 |
MapGraphics Fonts | MapGraphics <ScenarioPath> Fonts [{Small | Medium | Large}] {FontOptions} | Set the font styles to be used on the 2D Graphics window | 9.1 |
MapGraphics Resolution | MapGraphics <ScenarioPath> Resolution {ResOptions} | Set the map resolution to be used on the 2D Graphics window | 7.1 |
MapGraphics SetCentralBody | MapGraphics <ScenarioPath> SetCentralBody <CBName> [WindowID <WinNumber>] | Set the central body that will be displayed in a 2D Graphics window | 8.1 |
MapID_R | MapID_R <ScenarioPath> [<Count>] | Return information about the open 2D Graphics windows. | 5.0 |
MapProjection | MapProjection <ScenarioPath> {ProjectionType} [<WinNumber>] [{ProjectionOption} <Parameters>] | Set the graphical display of the central body in the 2D Graphics window | 4.1.1 |
MapSnap | MapSnap <ScenarioPath> {SnapOption} [<Parameters>] [<WinNumber>] | Take a picture of the current 2D Graphics window and save it | 11.3 |
MapTracking | MapTracking <ScenarioPath> {TrackingType} [<WinNumber>] | Set the display format of the mouse movement in the 2D Graphics window | 6.2 |
RecordMovie2D | RecordMovie2D <ScenarioPath> {MovieOption} <Value> [{MovieOption} <Value>...] | Control movie recording features for a 2D Graphics window | 11.5 |
RecordMovie2D_R | RecordMovie2D_R <ScenarioPath> {Options} | Return information about movie recording settings. | 11.5 |
SetAnimation | SetAnimation <ScenarioPath> {AnimateOption} <Parameters> | Set values to control animation. | 10 |
Terrain | Terrain <ScenarioPath> {Action} <Parameters> | Add or remove terrain data to be used in STK calculations | 12.8 |
TerrainServer | TerrainServer <ApplicationPath> <Parameters> | Specify a terrain server to be used in STK calculations | 11.7 |
TerrainServer_RM | TerrainServer_RM <ApplicationPath> {Option} | To get information about the terrain server being used in STK calculations | 11.7 |
Terrain_RM | Terrain_RM <ScenarioPath> TerrainServer {Option} | Return information about the Terrain Server. | 12.8 |
UseMapStyle | UseMapStyle <ScenarioPath> {MapStyle} [<WinNumber>] | Sets the 2D map style | 4.2 |
UseMapStyleTime | UseMapStyleTime <ScenarioPath> {State} | Turn on or off the map style time | 4.2 |
Window2D | Window2D <ScenarioPath> {2DGfxWinOption} <Value> [WindowID <WinNumber>] | Create, remove or modify a 2D Graphics window | 10 |
Window2D_R | Window2D_R <ScenarioPath> {DataType} {DataTypeOptions} [WindowId <WinNumber>] | Return information about a 2D Graphics window | 9.0 |
Zoom | Zoom <ScenarioPath> {ZoomOption} [<Parameters>] [<WinNumber>] | Zoom in or out in a 2D Graphics window | 11.6 |
Zoom_R | Zoom_R <ScenarioPath> {DataOption} [<WinNumber>] | Return data about the current map view and levels of magnification | 8.1 |