Category Mechanica, Object ProMechitem

Function ProMechitemValidate


Description
Validates given Creo Simulate item and returns the error object that collected found errors and warnings.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechItem.h>
ProErrorProMechitemValidate(
ProMechItem * item
/* (In)
The mech item.
*/
ProMechErrobj * err_obj
/* (Out)
The error object.
*/
)
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_INVALID_PTRThe Input ProMechItem Solid pointer is invalid.
PRO_TK_GENERAL_ERRORA general error is encountered.

Manual References:

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