PropertyInfoCollection#

class ansys.stk.core.stkutil.PropertyInfoCollection#

Property Information Collection coclass.

Overview#

item

Allow the user to iterate through the properties.

get_item_by_index

Retrieve a property from the collection by index.

get_item_by_name

Retrieve a property from the collection by name.

_new_enum

Enumerates through the properties.

count

Get the number of properties available.

Import detail#

from ansys.stk.core.stkutil import PropertyInfoCollection

Property detail#

property PropertyInfoCollection._new_enum: EnumeratorProxy#

Enumerates through the properties.

property PropertyInfoCollection.count: int#

Get the number of properties available.

Method detail#

PropertyInfoCollection.item(self, index_or_name: Any) PropertyInfo#

Allow the user to iterate through the properties.

Parameters:

index_or_name : Any

Returns:

PropertyInfo

PropertyInfoCollection.get_item_by_index(self, index: int) PropertyInfo#

Retrieve a property from the collection by index.

Parameters:

index : int

Returns:

PropertyInfo

PropertyInfoCollection.get_item_by_name(self, name: str) PropertyInfo#

Retrieve a property from the collection by name.

Parameters:

name : str

Returns:

PropertyInfo