AGI STK Objects 11 Send comments on this topic.
IAgStkObject Interface





Description

Represents the instance of STK object.

Object Model










Public Methods

Public Method CopyObject Copy and paste the current instance of STK Object. The copied object will be pasted as the sibling of the instance being copied.
Public Method CreateOnePointAccess Creates one point access to the supplied object name. The Remove method in IAgOnePtAccess should be called when you are done with the data.
Public Method Export Exports the object to a file.
Public Method GetAccess Returns an IAgStkAccess object.
Public Method GetAccessToObject Returns an IAgStkAccess object.
Public Method IsAccessSupported Used to determine whether or not the object supports Access.
Public Method IsObjectCoverageSupported Used to determine whether or not the object supports ObjectCoverage.
Public Method IsVgtSupported Returns whether the object supports Vector Geometry.
Public Method Unload Removes the object from the scenario.

Public Properties

Public Property AccessConstraints Get the constraints imposed on the object.
Public Property CentralBodyName The object's central body.
Public Property Children Returns a collection of direct descendants of the current object.
Public Property ClassName Returns a class name of the object (i.e. Aircraft, Facility.)
Public Property ClassType Returns a class type of the object (i.e. eAircraft, eFacility etc.)
Public Property DataProviders Returns the object representing a list of available data providers for the object.
Public Property HasChildren Returns true if the object has direct descendants.
Public Property InstanceName A name of the object.
Public Property LongDescription A long description of the object.
Public Property Metadata Gets the object's metadata. Metadata is a collection of keys and their associated values.
Public Property ObjectCoverage Returns an IAgStkObjectCoverage object.
Public Property ObjectFiles Returns the list of files that constitute an object.
Public Property Parent Returns the parent object or null if the object has become orphaned. The exception is AgStkObjectRoot object which is a topmost element and does not have a parent.
Public Property Path Returns the object path.
Public Property Root Returns the Root object or null.
Public Property ShortDescription The short description of the object.
Public Property Vgt Returns an instance of Vector Geometry Tool provider.

Example

Create a New AdvCAT Object
[MATLAB] Copy Code
% IAgScenario scenario: Scenario object 
advCAT = scenario.Children.New('eAdvCAT','AdvCAT'); 
 
 

CoClasses that Implement IAgStkObject

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1