Interface IpfcUnit
Description
This class describes a particular unit in the model.
Direct Parent Classes:
User Guide References:
Property Summary
Property | | |
| |
| |
| The relationship of the unit to its reference unit. |
Property | | as String |
| |
| |
| The user-friendly unit description: the name (i.e. "ksi") for ordinary units and the expression (i.e. N/m^3) for system-generated units. |
Property | | as Boolean |
| |
| |
| Whether the unit is system-defined (value true) or user-defined (value false). |
Property | | as String |
| |
| |
| Specifies the name of the unit. |
Property | | |
| |
| |
| The reference unit of the unit. |
Property | | |
| |
| |
| The type of quantity represented by the unit. |
Method Summary
Sub | |
| |
| |
| Delete the unit |
Sub | |
| |
| |
| Modify a unit's definition by applying a new conversion factor and reference unit. |
Property Detail
The relationship of the unit to its reference unit.
Property | Expression | | as String |
The user-friendly unit description: the name (i.e. "ksi") for ordinary units and the expression (i.e. N/m^3) for system-generated units.
Exceptions thrown (but not limited to):
Property | IsStandard | | as Boolean |
Whether the unit is system-defined (value true) or user-defined (value false).
Specifies the name of the unit.
Exceptions thrown (but not limited to):
The reference unit of the unit.
The type of quantity represented by the unit.
Method Detail
Delete the unit
Exceptions thrown (but not limited to):
Modify a unit's definition by applying a new conversion factor and reference unit.
Exceptions thrown (but not limited to):
IpfcXToolkitCantModify - The unit cannot be modified because it is referenced from the principal system of units or it is referenced from ref_unit.
Parameters:
ConversionFactor
The relationship of the unit to its reference unit.
ReferenceUnit
The reference unit.
User Guide References: