DataProviderResultTextMessage#

class ansys.stk.core.stkobjects.DataProviderResultTextMessage#

Notification or failure messages returned by the data provider.

Overview#

item

Given an index, returns a string in the collection at the given position.

count

Return a number of strings in the message.

_new_enum

Return a string enumeration.

messages

Return an array of strings in the message.

is_failure

Determine if the message represents a failure notification.

Import detail#

from ansys.stk.core.stkobjects import DataProviderResultTextMessage

Property detail#

property DataProviderResultTextMessage.count: int#

Return a number of strings in the message.

property DataProviderResultTextMessage._new_enum: EnumeratorProxy#

Return a string enumeration.

property DataProviderResultTextMessage.messages: list#

Return an array of strings in the message.

property DataProviderResultTextMessage.is_failure: bool#

Determine if the message represents a failure notification.

Method detail#

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

Given an index, returns a string in the collection at the given position.

Parameters:

index : int

Returns:

str