ProfileCollection#
- class ansys.stk.core.stkobjects.astrogator.ProfileCollection#
Bases:
IRuntimeTypeInfoProvider
The Profiles of a Target Sequence.
Overview#
Add a profile. |
|
Allow you to iterate through the collection. |
|
Remove an item from the profile collection. |
|
Remove all profiles from the profile collection. |
|
Copy the profile into the clipboard and removes profile from the list. |
|
Pastes the profile from the clipboard and inserts into the list. |
|
Copy the profile and inserts the copy into the list. |
|
Add a profile. |
|
Retrieve a profile from the collection by index. |
|
Retrieve a profile from the collection by name. |
Allow you to enumerate through the collection. |
|
Return the size of the collection. |
|
Return a list of available profiles. |
|
Return the RuntimeTypeInfo interface to access properties at runtime. |
Import detail#
from ansys.stk.core.stkobjects.astrogator import ProfileCollection
Property detail#
- property ProfileCollection._new_enum: EnumeratorProxy#
Allow you to enumerate through the collection.
- property ProfileCollection.provide_runtime_type_info: RuntimeTypeInfo#
Return the RuntimeTypeInfo interface to access properties at runtime.
Method detail#
- ProfileCollection.add(self, profile_name: str) IProfile #
Add a profile.
- Parameters:
profile_name :
str
- Returns:
IProfile
- ProfileCollection.item(self, index_or_name: Any) IProfile #
Allow you to iterate through the collection.
- Parameters:
index_or_name :
Any
- Returns:
IProfile
- ProfileCollection.remove(self, index_or_profile_name: Any) None #
Remove an item from the profile collection.
- ProfileCollection.cut(self, index_or_name: Any) None #
Copy the profile into the clipboard and removes profile from the list.
- ProfileCollection.paste(self, index_or_name: Any, direction: ProfileInsertDirection) IProfile #
Pastes the profile from the clipboard and inserts into the list.
- Parameters:
index_or_name :
Any
direction :
ProfileInsertDirection
- Returns:
IProfile
- ProfileCollection.insert_copy(self, profile: IProfile, index_or_name: Any, direction: ProfileInsertDirection) IProfile #
Copy the profile and inserts the copy into the list.
- Parameters:
profile :
IProfile
index_or_name :
Any
direction :
ProfileInsertDirection
- Returns:
IProfile
- ProfileCollection.add2(self, profile_name: str, index_or_name: Any, direction: ProfileInsertDirection) IProfile #
Add a profile.