Category Mechanica, Object ProMechmass

Function ProMechmassSimpledataGet


Description
Obtains the simple mass data.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechMass.h>
ProErrorProMechmassSimpledataGet(
ProMechItem* item
/* (In)
The mass.
*/
ProMechSimpleMassData* value
/* (Out)
The simple mass data. Free this using ProMechsimplemassdataFree().
*/
)
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_PTRThe Input ProMechItem Solid pointer is invalid.
PRO_TK_GENERAL_ERRORA general error is encountered. unable to convert mass data to principal units.
PRO_TK_OUT_OF_MEMORYThere is not enough memory to perform the operation.
See Also
ProMechmassTypeGet

Manual References:

  1. Creo Simulate: Items: Creo Simulate Mass Items
  2. Creo Simulate: Items: Creo Simulate Mass Items