Category Mechanica, Object ProMechdirvector

Function ProMechdirvectorAlloc


Description
Allocates the memory for a Creo Simulate handle containing a direction vector.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechValue.h>
ProErrorProMechdirvectorAlloc(
ProMechDirectionVector* vector
/* (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 )