StateConfigCollection#

class ansys.stk.core.stkobjects.astrogator.StateConfigCollection#

State config. properties Collection.

Overview#

get_item_by_index

Retrieve a state config property in the collection by index.

get_item_by_name

Retrieve a state config property in the collection by name.

item

Allow you to iterate through the collection.

_new_enum

Allow you to enumerate through the collection.

count

Return the size of the collection.

Import detail#

from ansys.stk.core.stkobjects.astrogator import StateConfigCollection

Property detail#

property StateConfigCollection._new_enum: EnumeratorProxy#

Allow you to enumerate through the collection.

property StateConfigCollection.count: int#

Return the size of the collection.

Method detail#

StateConfigCollection.get_item_by_index(self, index: int) StateConfig#

Retrieve a state config property in the collection by index.

Parameters:

index : int

Returns:

StateConfig

StateConfigCollection.get_item_by_name(self, name: str) StateConfig#

Retrieve a state config property in the collection by name.

Parameters:

name : str

Returns:

StateConfig

StateConfigCollection.item(self, index_or_name: Any) StateConfig#

Allow you to iterate through the collection.

Parameters:

index_or_name : Any

Returns:

StateConfig