ObjectCollection#

class ansys.stk.core.graphics.ObjectCollection#

A collection of objects.

Overview#

item

Return an item in the collection at the specified index.

count

A total number of elements in the collection.

_new_enum

Return an enumerator that iterates through the collection.

Import detail#

from ansys.stk.core.graphics import ObjectCollection

Property detail#

property ObjectCollection.count: int#

A total number of elements in the collection.

property ObjectCollection._new_enum: EnumeratorProxy#

Return an enumerator that iterates through the collection.

Method detail#

ObjectCollection.item(self, index: int) Any#

Return an item in the collection at the specified index.

Parameters:

index : int

Returns:

Any