AnalysisConfigurationCollection#

class ansys.stk.core.stkrfchannelmodeler.AnalysisConfigurationCollection#

A collection of analysis configurations.

Overview#

item

Given an index, returns the element in the collection.

remove_at

Remove the analysis configuration at the supplied index.

remove

Remove the supplied analysis configuration.

add_new

Add and returns a new analysis configuration.

add

Add the supplied analysis configuration.

remove_all

Clear the collection.

contains

Determine if the collection contains an analysis configuration with the given name.

find

Find an analysis configuration by name. Returns Null if the configuration name does not exist in the collection.

count

Return the number of elements in the collection.

_new_enum

Return an enumerator for the collection.

Import detail#

from ansys.stk.core.stkrfchannelmodeler import AnalysisConfigurationCollection

Property detail#

property AnalysisConfigurationCollection.count: int#

Return the number of elements in the collection.

property AnalysisConfigurationCollection._new_enum: EnumeratorProxy#

Return an enumerator for the collection.

Method detail#

AnalysisConfigurationCollection.item(self, index: int) AnalysisConfiguration#

Given an index, returns the element in the collection.

Parameters:

index : int

Returns:

AnalysisConfiguration

AnalysisConfigurationCollection.remove_at(self, index: int) None#

Remove the analysis configuration at the supplied index.

Parameters:

index : int

Returns:

None

AnalysisConfigurationCollection.remove(self, value: AnalysisConfiguration) None#

Remove the supplied analysis configuration.

Parameters:

value : AnalysisConfiguration

Returns:

None

AnalysisConfigurationCollection.add_new(self, model_type: AnalysisConfigurationModelType, configuration_name: str) AnalysisConfiguration#

Add and returns a new analysis configuration.

Parameters:

model_type : AnalysisConfigurationModelType

configuration_name : str

Returns:

AnalysisConfiguration

AnalysisConfigurationCollection.add(self, value: AnalysisConfiguration) None#

Add the supplied analysis configuration.

Parameters:

value : AnalysisConfiguration

Returns:

None

AnalysisConfigurationCollection.remove_all(self) None#

Clear the collection.

Returns:

None

AnalysisConfigurationCollection.contains(self, configuration_name: str) bool#

Determine if the collection contains an analysis configuration with the given name.

Parameters:

configuration_name : str

Returns:

bool

AnalysisConfigurationCollection.find(self, configuration_name: str) AnalysisConfiguration#

Find an analysis configuration by name. Returns Null if the configuration name does not exist in the collection.

Parameters:

configuration_name : str

Returns:

AnalysisConfiguration