Category Mechanica, Object ProMechmassprops

Function ProMechmasspropsMassSet


DEPRECATED: Since Creo 1
SUPERSEDED BY: ProMechMasspropsExpressionSet
Description
Note: This function is deprecated. Use ProMechMasspropsExpressionSet() instead.

Sets the mass value of the mass property object.

Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechMassProps.h>
ProErrorProMechmasspropsMassSet(
ProMechItem* item
/* (In)
The mass property.
*/
double mass
/* (In)
The mass.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_CANT_ACCESSCannot access the object in the current mode.
PRO_TK_BAD_CONTEXTThe Creo Simulate session is not initialized.
PRO_TK_INVALID_PTRThe Input ProMechItem Solid pointer is invalid.
PRO_TK_CANT_MODIFYCannot modify the item.
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 Mass Properties
  3. Creo Simulate: Items: Creo Simulate Mass Properties