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





Description

Top-level object in the Object Model Hierarchy.

Events

Public Event OnAnimationFaster Triggered when the animation speed is increased.
Public Event OnAnimationPause Triggered when animation is paused.
Public Event OnAnimationPlayback Triggered when an animation action is performed.
Public Event OnAnimationRewind Triggered when animation is rewound.
Public Event OnAnimationSlower Triggered when the animation speed is decreased.
Public Event OnAnimationStep Triggered upon animation step.
Public Event OnAnimationStepBack Triggered upon animation stepback.
Public Event OnAnimUpdate Occurs just before an animation update.
Public Event OnLogMessage Triggered when a new message is logged.
Public Event OnPercentCompleteBegin Occurs when a lengthy operation is about to start.
Public Event OnPercentCompleteEnd Occurs upon when a currently running lengthy operation is finished.
Public Event OnPercentCompleteUpdate Occurs upon changes to the status of a currently running lengthy operation
Public Event OnScenarioBeforeClose Occurs before scenario is closed.
Public Event OnScenarioBeforeSave Triggered before a scenario is saved.
Public Event OnScenarioClose Triggered when a scenario is closed.
Public Event OnScenarioLoad Triggered when a scenario is loaded.
Public Event OnScenarioNew Triggered when a new scenario is created.
Public Event OnScenarioSave Triggered when a scenario is saved.
Public Event OnStkObjectAdded Triggered when an STK object is added.
Public Event OnStkObjectChanged Occurs 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 OnStkObjectDeleted Triggered when an STK object is deleted.
Public Event OnStkObjectRenamed Triggered 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()

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1