SNOPTControlCollection#

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

SNOPT control collection.

Overview#

item

Allow you to iterate through the collection.

get_control_by_paths

Return the control specified by the object/control path.

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

Property detail#

property SNOPTControlCollection._new_enum: EnumeratorProxy#

Allow you to enumerate through the collection.

property SNOPTControlCollection.count: int#

Return the size of the collection.

Method detail#

SNOPTControlCollection.item(self, index: int) SNOPTControl#

Allow you to iterate through the collection.

Parameters:

index : int

Returns:

SNOPTControl

SNOPTControlCollection.get_control_by_paths(self, object_path: str, control_path: str) SNOPTControl#

Return the control specified by the object/control path.

Parameters:

object_path : str

control_path : str

Returns:

SNOPTControl