Category Mechanica, Object ProMechvalue

Function ProMechvalueAlloc


Description
Allocates the memory for a Creo Simulate value handle.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechValue.h>
ProErrorProMechvalueAlloc(
ProMechValue* value
/* (Out)
The handle.
*/
)
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_OUT_OF_MEMORYInsufficient memory.

Manual References:

  1. Creo Simulate: Items: Accessing the Properties used for Loads and Constraints

Sample Code References:

  1. pt_mech_examples ( PTMechExUtils.c )
  2. pt_mech_examples ( PTMechExUtils.c )