Category Creo Parametric fundamentals, Object ProUnit

Function ProUnitNameGet


Description
Returns a unit name or error code if unit was created by system automatically.
Synopsis
#include <ProMdlUnits.h>
ProErrorProUnitNameGet(
ProUnititem* unit
/* (In)
The unit item.
*/
ProName name
/* (Out)
The unit name.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_E_NOT_FOUNDThe unit type was not recognized.
PRO_TK_NOT_DISPLAYEDSystem created unit,has no user-friendly name.

Manual References:

  1. Core: Solids, Parts, and Materials: Solid Units
  2. Core: Solids, Parts, and Materials: Solid Units