AGI STK Objects 11 Send comments on this topic.
IAgStkObjectCollection Collection

Description

Represents a collection of STK objects.

Object Model

Public Methods

Public Method Contains Checks whether the collection contains an object with the given type and name.
Public Method CopyObject Copy and paste the specified object.
Public Method GetElements Returns a collection of objects of specified type.
Public Method ImportObject Imports object from external file and returns the pointer to the object.
Public Method New Creates an STK object using specified class and instance name.
Public Method NewOnCentralBody Creates an STK object using specified class, instance name and the central body.
Public Method Unload Removes an STK object using specified object's type and name.

Public Properties

Public Property Count Returns the number of elements in the collection.
Public Property Item Given an index, returns the element in the collection. If the index is an integer, then method returns the element in the collection at the given position. If the index is a string, then the method returns the element with the specified name.
Public Property SupportedChildTypes Returns the available objects that can be added to this object.
© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1