ElementCollection#

class ansys.stk.core.stkobjects.ElementCollection#

Class defining a phased array element collection.

Overview#

item

Given an index, returns the element 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.stkobjects import ElementCollection

Property detail#

property ElementCollection.count: int#

Return the number of elements in the collection.

property ElementCollection._new_enum: EnumeratorProxy#

Return an enumerator for the collection.

Method detail#

ElementCollection.item(self, index: int) Element#

Given an index, returns the element in the collection.

Parameters:

index : int

Returns:

Element