Documentación de la API
>
Creo Parametric fundamentals
>
Object ProUnit
> Function ProUnitNameGet
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.
User Guide References
Accessing Individual Units:ProUnitNameGet
Parent topic
Object ProUnit
¿Fue esto útil?
Este sitio funciona mejor con JavaScript activado