Category Creo Parametric fundamentals, Object ProUnit

Function ProUnitRename


Description
Renames a unit.
Replacement in Object TOOLKIT: pfcUnit::Name
Synopsis
#include <ProMdlUnits.h>
ProErrorProUnitRename(
ProUnititem* unit
/* (In)
The unit.
*/
ProName new_name
/* (In)
The new name.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_CANT_MODIFYThe unit is referenced from the principal system of units and cannot be modified.

Manual References:

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