Category Mechanica, Object ProMechvectoredvalue

Function ProMechvectoredvalueDirectionvectorGet


Description
Obtains the direction vector structure assigned to this value.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechValue.h>
ProErrorProMechvectoredvalueDirectionvectorGet(
ProMechVectoredValue value
/* (In)
The value.
*/
ProMechDirectionVector* dir_vector
/* (Out)
The direction vector. Free this using ProMechdirectionvectorFree().
*/
)
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_TYPEThe value does not contain a direction vector.
PRO_TK_OUT_OF_MEMORYInsufficient memory.
See Also
ProMechvectoredvalueTypeGet

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 )