ScriptingParameterEnumerationChoiceCollection#
- class ansys.stk.core.stkobjects.astrogator.ScriptingParameterEnumerationChoiceCollection#
Bases:
IRuntimeTypeInfoProvider
Scripting Parameter Enumeration Choice Collection.
Overview#
Allow you to iterate through the collection. |
|
Add an enumeration choice to the collection. |
|
Remove an enumeration choice. |
|
Copy the enumeration choice into the clipboard and removes the enumeration choice from the list. |
|
Pastes the enumeration choice from the clipboard and inserts into the list. |
|
Copy the enumeration choice and inserts the copy into the list. |
|
Retrieve a scripting parameter enumeration choice in the collection by index. |
|
Retrieve a scripting parameter enumeration choice in the collection by name. |
Allow you to enumerate through the collection. |
|
Return the size of the collection. |
|
Return the RuntimeTypeInfo interface to access properties at runtime. |
Import detail#
from ansys.stk.core.stkobjects.astrogator import ScriptingParameterEnumerationChoiceCollection
Property detail#
- property ScriptingParameterEnumerationChoiceCollection._new_enum: EnumeratorProxy#
Allow you to enumerate through the collection.
- property ScriptingParameterEnumerationChoiceCollection.count: int#
Return the size of the collection.
- property ScriptingParameterEnumerationChoiceCollection.provide_runtime_type_info: RuntimeTypeInfo#
Return the RuntimeTypeInfo interface to access properties at runtime.
Method detail#
- ScriptingParameterEnumerationChoiceCollection.item(self, index_or_name: Any) ScriptingParameterEnumerationChoice #
Allow you to iterate through the collection.
- Parameters:
index_or_name :
Any
- Returns:
ScriptingParameterEnumerationChoice
- ScriptingParameterEnumerationChoiceCollection.add(self, choice_name: str) ScriptingParameterEnumerationChoice #
Add an enumeration choice to the collection.
- Parameters:
choice_name :
str
- Returns:
ScriptingParameterEnumerationChoice
- ScriptingParameterEnumerationChoiceCollection.remove(self, index_or_name: Any) None #
Remove an enumeration choice.
- ScriptingParameterEnumerationChoiceCollection.cut(self, index_or_name: Any) None #
Copy the enumeration choice into the clipboard and removes the enumeration choice from the list.
- ScriptingParameterEnumerationChoiceCollection.paste(self) ScriptingParameterEnumerationChoice #
Pastes the enumeration choice from the clipboard and inserts into the list.
- Returns:
ScriptingParameterEnumerationChoice
- ScriptingParameterEnumerationChoiceCollection.insert_copy(self, choice: ScriptingParameterEnumerationChoice) ScriptingParameterEnumerationChoice #
Copy the enumeration choice and inserts the copy into the list.
- Parameters:
choice :
ScriptingParameterEnumerationChoice
- Returns:
ScriptingParameterEnumerationChoice
- ScriptingParameterEnumerationChoiceCollection.get_item_by_index(self, index: int) ScriptingParameterEnumerationChoice #
Retrieve a scripting parameter enumeration choice in the collection by index.
- Parameters:
index :
int
- Returns:
ScriptingParameterEnumerationChoice
- ScriptingParameterEnumerationChoiceCollection.get_item_by_name(self, name: str) ScriptingParameterEnumerationChoice #
Retrieve a scripting parameter enumeration choice in the collection by name.
- Parameters:
name :
str
- Returns:
ScriptingParameterEnumerationChoice