Modifying Units
Functions Introduced:
• ProUnitModify()
• ProUnitDelete()
• ProUnitRename()
Use the function ProUnitModify() to modify a pre-defined unit. Modifying the units can invalidate your relations, as they are not scaled along with the model. The input parameters are:
• unit— Specifies the unit to be modified.
• conversion—Specifies the conversion factor for the unit.
• ref_unit—Specifies the reference unit.
Use the function ProUnitDelete() to delete a previously created unit.
|
Note:
|
You cannot delete a pre-defined unit. If you delete a unit, you cannot undo the deletion.
|
Use the function ProUnitRename() to rename an existing unit.
Creation of a new Unit
• ProUnitCreate()
Use the function ProUnitCreate() to create a new basic unit given a reference unit and the required conversion factor.