Object ProMech

Function ProMechSpringpropsVectorGet


Description
Obtains the vector corresponding to 'type' of the spring property object. Use ProMathExpressionEvaluate() to evaluate each component.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechSpringProps.h>
ProErrorProMechSpringpropsVectorGet(
ProMechItem * item
/* (In)
The spring property.
*/
ProMechSpringpropsPropertyType type
/* (In)
The spring property type.
*/
ProMechVector * vector
/* (Out)
The property value (vector). The function allocates memory for this argument. Use ProMechVectorFree() to free it.
*/
)
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_MEMORYThere is not enough memory to perform the operation.
PRO_TK_NO_LICENSENo license was available to enable this function.
PRO_TK_INVALID_PTRThe Input ProMechItem Solid pointer is invalid.
PRO_TK_GENERAL_ERRORA general error is encountered.

Manual References:

  1. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0
  2. Creo Simulate: Items: Creo Simulate Spring Property Items
  3. Creo Simulate: Items: Creo Simulate Spring Property Items