Category
Creo Parametric fundamentals
, Object
ProUnit
Function ProUnitDelete
Description
Deletes a unit.
Replacement in Object TOOLKIT:
pfcUnit::Delete
Synopsis
#include <
ProMdlUnits.h
>
ProError
ProUnitDelete
(
ProUnititem
*
unit
/* (In)
The unit.
*/
)
Returns
PRO_TK_NO_ERROR
The function succeeded.
PRO_TK_BAD_INPUTS
One or more arguments was invalid.
PRO_TK_CANT_MODIFY
The unit referenced from another unit or system of units and cannot be deleted.
Manual References:
Core: Solids, Parts, and Materials: Solid Units
Core: Solids, Parts, and Materials: Solid Units