CoverageRegionFilesCollection#

class ansys.stk.core.stkobjects.CoverageRegionFilesCollection#

Collection of Region Files.

Overview#

item

Given an index, returns an element in the collection.

remove_at

Remove an element from the collection using specified index.

remove_all

Remove all elements from the collection.

add

Add a new element to the collection.

remove

Remove an element from the collection given a filename.

count

Return the number of elements in a collection.

_new_enum

Return an enumerator that can iterate through the collection.

Import detail#

from ansys.stk.core.stkobjects import CoverageRegionFilesCollection

Property detail#

property CoverageRegionFilesCollection.count: int#

Return the number of elements in a collection.

property CoverageRegionFilesCollection._new_enum: EnumeratorProxy#

Return an enumerator that can iterate through the collection.

Method detail#

CoverageRegionFilesCollection.item(self, index: int) str#

Given an index, returns an element in the collection.

Parameters:

index : int

Returns:

str

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

Remove an element from the collection using specified index.

Parameters:

index : int

Returns:

None

CoverageRegionFilesCollection.remove_all(self) None#

Remove all elements from the collection.

Returns:

None

CoverageRegionFilesCollection.add(self, filename: str) None#

Add a new element to the collection.

Parameters:

filename : str

Returns:

None

CoverageRegionFilesCollection.remove(self, filename: str) None#

Remove an element from the collection given a filename.

Parameters:

filename : str

Returns:

None