Category Creo Parametric fundamentals, Object ProUnit

Function ProUnitModifyByExpressionAndType


Description
Modifies a derived unit.
Synopsis
#include <ProMdlUnits.h>
ProErrorProUnitModifyByExpressionAndType(
ProUnititem* unit
/* (In)
The unit.
*/
ProUnitType type
/* (In)
unit type.
*/
ProPath expression
/* (In)
The unit expression.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_CANT_MODIFYThe unit cannot be modified because it is referenced from the principal system of units or it is referenced from ref_unit.

Manual References:

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