Category Solids and parts, Object ProPart

Function ProPartDensityGet


Description
Determines the density of the part.
Replacement in Object TOOLKIT: wfcWPart::GetDensity
Synopsis
#include <ProPart.h>
ProErrorProPartDensityGet(
ProPart part
/* (In)
The part handle.
*/
double* density
/* (Out)
The part density (in the units of the model). If the part has been assigned a material, this is the density for the material.
*/
)
Returns
PRO_TK_NO_ERRORThe function retrieved the density.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_E_NOT_FOUNDThe part has not been assigned a density value.

Manual References:

  1. Core: Solids, Parts, and Materials: Density
  2. Core: Solids, Parts, and Materials: Density
  3. Core: Solids, Parts, and Materials: Density

Sample Code References:

  1. pt_userguide ( UgSolidInfoMass.c )