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
>
ProError
ProUnitNameGet
(
ProUnititem
*
unit
/* (In)
The unit item.
*/
ProName
name
/* (Out)
The unit name.
*/
)
Returns
PRO_TK_NO_ERROR
The function succeeded.
PRO_TK_BAD_INPUTS
One or more arguments was invalid.
PRO_TK_E_NOT_FOUND
The unit type was not recognized.
PRO_TK_NOT_DISPLAYED
System created unit,has no user-friendly name.
Manual References:
Core: Solids, Parts, and Materials: Solid Units
Core: Solids, Parts, and Materials: Solid Units