Category
Creo Parametric fundamentals
, Object
ProUnit
Function ProUnitRename
Description
Renames a unit.
Replacement in Object TOOLKIT:
pfcUnit::Name
Synopsis
#include <
ProMdlUnits.h
>
ProError
ProUnitRename
(
ProUnititem
*
unit
/* (In)
The unit.
*/
ProName
new_name
/* (In)
The new name.
*/
)
Returns
PRO_TK_NO_ERROR
The function succeeded.
PRO_TK_BAD_INPUTS
One or more arguments was invalid.
PRO_TK_CANT_MODIFY
The unit is referenced from the principal system of units and cannot be modified.
Manual References:
Core: Solids, Parts, and Materials: Solid Units