PropagatorFunctionCollection#

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

Propagator Function Collection.

Overview#

add

Add a function to the collection.

item

Allow you to iterate through the collection.

remove

Remove the specified function from the collection.

remove_all

Remove all functions from the collection.

cut

Copy a propagator function to the clipboard and removes the propagator function from the list.

paste

Pastes a propagator function from the clipboard into the list.

insert_copy

Copy a propagator function and inserts the copy into the list.

get_item_by_index

Retrieve a propagator function from the collection by index.

get_item_by_name

Retrieve a propagator function from the collection by name.

_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 PropagatorFunctionCollection

Property detail#

property PropagatorFunctionCollection._new_enum: EnumeratorProxy#

Allow you to enumerate through the collection.

property PropagatorFunctionCollection.count: int#

Return the size of the collection.

Method detail#

PropagatorFunctionCollection.add(self, result_name: str) IComponentInfo#

Add a function to the collection.

Parameters:

result_name : str

Returns:

IComponentInfo

PropagatorFunctionCollection.item(self, index_or_name: Any) IComponentInfo#

Allow you to iterate through the collection.

Parameters:

index_or_name : Any

Returns:

IComponentInfo

PropagatorFunctionCollection.remove(self, index_or_name: Any) None#

Remove the specified function from the collection.

Parameters:

index_or_name : Any

Returns:

None

PropagatorFunctionCollection.remove_all(self) None#

Remove all functions from the collection.

Returns:

None

PropagatorFunctionCollection.cut(self, index_or_name: Any) None#

Copy a propagator function to the clipboard and removes the propagator function from the list.

Parameters:

index_or_name : Any

Returns:

None

PropagatorFunctionCollection.paste(self) IComponentInfo#

Pastes a propagator function from the clipboard into the list.

Returns:

IComponentInfo

PropagatorFunctionCollection.insert_copy(self, prop_func: IComponentInfo) IComponentInfo#

Copy a propagator function and inserts the copy into the list.

Parameters:

prop_func : IComponentInfo

Returns:

IComponentInfo

PropagatorFunctionCollection.get_item_by_index(self, index: int) IComponentInfo#

Retrieve a propagator function from the collection by index.

Parameters:

index : int

Returns:

IComponentInfo

PropagatorFunctionCollection.get_item_by_name(self, name: str) IComponentInfo#

Retrieve a propagator function from the collection by name.

Parameters:

name : str

Returns:

IComponentInfo