Category Mechanica, Object ProMechload

Function ProMechloadPressuredataGet


Description
Obtains the value of the pressure data from the Creo Simulate item.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechLoad.h>
ProErrorProMechloadPressuredataGet(
ProMechItem* item
/* (In)
The item.
*/
ProMechPressureData* value
/* (Out)
The pressure data. Free this using ProMechpressuredataFree().
*/
)
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 was encountered.
PRO_TK_OUT_OF_MEMORYThere is not enough memory to perform the operation.
PRO_TK_INVALID_TYPEThe item does not contain this type of load.
See Also
ProMechloadTypeGet

Manual References:

  1. Creo Simulate: Items: Accessing Creo Simulate Loads
  2. Creo Simulate: Items: Accessing Creo Simulate Loads

Sample Code References:

  1. pt_mech_examples ( PTMechExItemInfo.c )
  2. pt_mech_examples ( PTMechExMagChange.c )
  3. pt_mech_examples ( PTMechExMagChange.c )