Object ProMecherrobj

Function ProMecherrobjMessageGet


Description
Returns the error object's event message at given index.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechItem.h>
ProErrorProMecherrobjMessageGet(
ProMechErrobj err_obj
/* (In)
The error object.
*/
ProMechErrobjType type
/* (In)
The error object event type.
*/
int index
/* (In)
The event index.
*/
wchar_t ** message
/* (Out)
The message at given index. Free the memory for this string using ProWstringFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_BAD_CONTEXTThe Creo Simulate session is not initialized.
PRO_TK_GENERAL_ERRORA general error is encountered.

Manual References:

  1. Creo Simulate: Items: Validating New and Modified Simulation Objects