AGI STK Objects 11 Send comments on this topic.
AgStkObjectRoot Object
Windows






Windows & Linux

Description

Top-level object in the Object Model Hierarchy.

Events

Public Event OnAnimationFasterTriggered when the animation speed is increased.
Public Event OnAnimationPauseTriggered when animation is paused.
Public Event OnAnimationPlaybackTriggered when an animation action is performed.
Public Event OnAnimationRewindTriggered when animation is rewound.
Public Event OnAnimationSlowerTriggered when the animation speed is decreased.
Public Event OnAnimationStepTriggered upon animation step.
Public Event OnAnimationStepBackTriggered upon animation stepback.
Public Event OnAnimUpdateOccurs just before an animation update.
Public Event OnLogMessageTriggered when a new message is logged.
Public Event OnPercentCompleteBeginOccurs when a lengthy operation is about to start.
Public Event OnPercentCompleteEndOccurs upon when a currently running lengthy operation is finished.
Public Event OnPercentCompleteUpdateOccurs upon changes to the status of a currently running lengthy operation
Public Event OnScenarioBeforeCloseOccurs before scenario is closed.
Public Event OnScenarioBeforeSaveTriggered before a scenario is saved.
Public Event OnScenarioCloseTriggered when a scenario is closed.
Public Event OnScenarioLoadTriggered when a scenario is loaded.
Public Event OnScenarioNewTriggered when a new scenario is created.
Public Event OnScenarioSaveTriggered when a scenario is saved.
Public Event OnStkObjectAddedTriggered when an STK object is added.
Public Event OnStkObjectChangedOccurs upon changes to the state of an object. The changes that can trigger the event include changes to the object's value, constraints or definition.
Public Event OnStkObjectDeletedTriggered when an STK object is deleted.
Public Event OnStkObjectPreDeleteTriggered before an STK object is deleted. Allow to intercept and prevent the object from being deleted.
Public Event OnStkObjectRenamedTriggered when an STK object is renamed. Sender represents the object path or object itself. OldPath is the object path before the OnStkObjectRenamed Event. NewPath is the object path after the OnStkObjectRenamed Event.

Interfaces

Example

Create instance of AgStkObjectRoot in STK Engine application
[C#]Copy Code
// Before instantiating AgStkObjectRoot an instance of AgSTKXApplication or an STK X control must be created 
AgStkObjectRoot root = new AgStkObjectRoot(); 
 

Create instance of AgStkObjectRoot in STK Engine application
[Visual Basic .NET]Copy Code
' Before instantiating AgStkObjectRoot an instance of AgSTKXApplication or an STK X control must be created
Dim root As New AgStkObjectRoot()

© 2018 Analytical Graphics, Inc. All Rights Reserved.