Category Mechanica, Object ProMechdirvector

Function ProMechdirvectorComponentsGet


Description
Obtains the component values of the vector (3 ProMechValue components).
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechValue.h>
ProErrorProMechdirvectorComponentsGet(
ProMechDirectionVector vector
/* (In)
The vector.
*/
ProMechValue** value
/* (Out)
ProArray of component values. The function allocates memory for this argument. Free it using ProMechvalueProarrayFree().
*/
)
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.
PRO_TK_GENERAL_ERRORA general error was encountered.

Manual References:

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

Sample Code References:

  1. pt_mech_examples ( PTMechExItemInfo.c )