ISceneContributorCollection#

class ansys.stk.core.stkrfchannelmodeler.ISceneContributorCollection#

Represents a collection of scene contributors.

Overview#

item

Given an index, returns the element in the collection.

remove_at

Remove the scene contributor with the supplied index.

remove

Remove the supplied scene contributor from the collection.

add_new

Add and returns a new scene contributor.

remove_all

Clear all scene contributors from the collection.

contains

Check to see if a given scene contributor exists 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 ISceneContributorCollection

Property detail#

property ISceneContributorCollection.count: int#

Return the number of elements in the collection.

property ISceneContributorCollection._new_enum: EnumeratorProxy#

Return an enumerator for the collection.

Method detail#

ISceneContributorCollection.item(self, index: int) SceneContributor#

Given an index, returns the element in the collection.

Parameters:

index : int

Returns:

SceneContributor

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

Remove the scene contributor with the supplied index.

Parameters:

index : int

Returns:

None

ISceneContributorCollection.remove(self, stk_object_path: str) None#

Remove the supplied scene contributor from the collection.

Parameters:

stk_object_path : str

Returns:

None

ISceneContributorCollection.add_new(self, stk_object_path: str) SceneContributor#

Add and returns a new scene contributor.

Parameters:

stk_object_path : str

Returns:

SceneContributor

ISceneContributorCollection.remove_all(self) None#

Clear all scene contributors from the collection.

Returns:

None

ISceneContributorCollection.contains(self, stk_object_path: str) bool#

Check to see if a given scene contributor exists in the collection.

Parameters:

stk_object_path : str

Returns:

bool