Category Creo Parametric fundamentals, Object ProUnit

Function ProUnitDelete


Description
Deletes a unit.
Replacement in Object TOOLKIT: pfcUnit::Delete
Synopsis
#include <ProMdlUnits.h>
ProErrorProUnitDelete(
ProUnititem* unit
/* (In)
The unit.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_CANT_MODIFYThe unit referenced from another unit or system of units and cannot be deleted.

Manual References:

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