STK XSend comments on this topic.
AgSTKXApplication Object

Description

STK X Application object.

Public Methods

Public Method ExecuteCommandSend a connect command to STK X.
Public Method ExecuteMultipleCommandsExecutes multiple CONNECT actions. The method throws an exception if any of the specified commands have failed.
Public Method GetLicensingReportThis method is deprecated. Returns a formatted string that contains the license names and their states. The string is formatted as an XML document.
Public Method GetOnlineOptionsGet http proxy online options.
Public Method IsFeatureAvailableReturns true if the specified feature is available.
Public Method SetOnlineOptionsSet http proxy online options.
Public Method TerminateTerminates the use of STK Engine. This must be the last call to STK Engine.
Public Method UseSoftwareRendererConfigure engine graphics to use a software renderer in order to meet minimum graphics requirements. Enabling this option will result in significant performance impacts.

Public Properties

Public Property ConnectMaxConnectionsSpecify the maximum number of Connect connections to allow.
Public Property ConnectPortSpecify TCP/IP port to be used by Connect (default: 5001).
Public Property EnableConnectEnable or disable TCP/IP connect command processing (default: disabled).
Public Property HostIDReturns the Host ID.
Public Property LogFileFullNameReturns full path and log file name.
Public Property LoggingModeControls the log file generation, and if the log file is deleted or not on application exit.
Public Property NoGraphicsStart engine with or without graphics (default: engine starts with graphics.).
Public Property RegistrationIDReturns the Registration ID.
Public Property ShowSLAIfNotAcceptedShows the Software License Agreement dialog if not already accepted.
Public Property VendorIDThis property is deprecated. The identifier of the vendor.
Public Property VersionReturns the version number.

Events

Public Event OnScenarioNewTriggered when a new scenario is created.
Public Event OnScenarioLoadTriggered when a scenario is loaded.
Public Event OnScenarioCloseTriggered when the current scenario is closed.
Public Event OnScenarioSaveTriggered when the current scenario is saved.
Public Event OnLogMessageTriggered when a new message is logged.
Public Event OnAnimUpdateOccurs just before an animation update.
Public Event OnNewGlobeCtrlRequestTriggered when the globe control window for a scene is not found.
Public Event OnNewMapCtrlRequestTriggered when the map control window for a WinID is not found.
Public Event OnBeforeNewScenarioTriggered when a new scenario is about to be created.
Public Event OnBeforeLoadScenarioTriggered when a scenario is about to be loaded.
Public Event OnBeginScenarioCloseTriggered immediately before the current scenario is closed.
Public Event OnNewGfxAnalysisCtrlRequestTriggered when the Gfx Analysis control window for a scene is not found.
Public Event OnSSLCertificateServerErrorTriggered when a remote Web server, in response to an HTTPS request, sends a self-signed certificate, or if the certificate misrepresents the server identify.
Public Event OnConControlQuitReceivedTriggered when the [ConControl / QuitStk] connect command is received.

Remarks

The STK X Application can be created as a regular component or accessed through the Map and Globe Application properties.


GUID{062AB565-B121-45B5-A9A9-B412CEFAB6A9}
ProgIDSTKX12.Application


The STK Objects library is also available with STK X. You can instantiate the root object and from it navigate and manipulate the STK scenario. Please see STK Objects for more details.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.