ScriptingParameterCollection#
- class ansys.stk.core.stkobjects.astrogator.ScriptingParameterCollection#
Bases:
IRuntimeTypeInfoProvider
Scripting Parameter Collection.
Overview#
Allow you to iterate through the collection. |
|
Add a parameter to the collection. |
|
Remove a parameter. |
|
Remove all parameters. |
|
Copy the parameter into the clipboard and removes the parameter from the list. |
|
Pastes the parameter from the clipboard and inserts into the list. |
|
Copy the parameter and inserts the copy into the list. |
|
Retrieve a scripting parameter in the collection by index. |
|
Retrieve a scripting parameter 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 ScriptingParameterCollection
Property detail#
- property ScriptingParameterCollection._new_enum: EnumeratorProxy#
Allow you to enumerate through the collection.
- property ScriptingParameterCollection.provide_runtime_type_info: RuntimeTypeInfo#
Return the RuntimeTypeInfo interface to access properties at runtime.
Method detail#
- ScriptingParameterCollection.item(self, index_or_name: Any) ScriptingParameter #
Allow you to iterate through the collection.
- Parameters:
index_or_name :
Any
- Returns:
ScriptingParameter
- ScriptingParameterCollection.add(self, parameter_name: str) ScriptingParameter #
Add a parameter to the collection.
- Parameters:
parameter_name :
str
- Returns:
ScriptingParameter
- ScriptingParameterCollection.cut(self, index_or_name: Any) None #
Copy the parameter into the clipboard and removes the parameter from the list.
- ScriptingParameterCollection.paste(self) ScriptingParameter #
Pastes the parameter from the clipboard and inserts into the list.
- Returns:
ScriptingParameter
- ScriptingParameterCollection.insert_copy(self, parameter: ScriptingParameter) ScriptingParameter #
Copy the parameter and inserts the copy into the list.
- Parameters:
parameter :
ScriptingParameter
- Returns:
ScriptingParameter
- ScriptingParameterCollection.get_item_by_index(self, index: int) ScriptingParameter #
Retrieve a scripting parameter in the collection by index.
- Parameters:
index :
int
- Returns:
ScriptingParameter
- ScriptingParameterCollection.get_item_by_name(self, name: str) ScriptingParameter #
Retrieve a scripting parameter in the collection by name.
- Parameters:
name :
str
- Returns:
ScriptingParameter