Library | Module

Interface IpfcUnitSystem



Description

This class describes a particular unit system in the model.
Direct Parent Classes:
IpfcChild



Property Summary

PropertyIsStandardas Boolean
Specifies whether the unit system is system-defined (value true) or user-defined (value false).
PropertyNameas String
Specifies the name of the unit system
PropertyTypeas IpfcUnitSystemType
Specifies the type of the unit system.



Method Summary

SubDelete ()
Delete the unit system
FunctionGetUnit (Type as IpfcUnitType) as IpfcUnit [optional]
Retrieves the unit used by the unit system for a particular type.



Property Detail


PropertyIsStandardas Boolean

Specifies whether the unit system is system-defined (value true) or user-defined (value false).




PropertyNameas String

Specifies the name of the unit system

Exceptions thrown (but not limited to):

IpfcXToolkitCantModify - The unit system cannot be modified because if is standard, or new_name already exists, or the model cannot be modified.






PropertyTypeas IpfcUnitSystemType

Specifies the type of the unit system.





Method Detail


SubDelete ()

Delete the unit system

Exceptions thrown (but not limited to):

IpfcXToolkitCantModify - The unit system cannot be modified because if is standard, or is the principal system, or the model cannot be modified.





FunctionGetUnit (Type as IpfcUnitType) as IpfcUnit [optional]

Retrieves the unit used by the unit system for a particular type.

Exceptions thrown (but not limited to):

IpfcXToolkitNotFound - system does not contain a unit of the requested type.


Parameters:
Type
The type of unit.
Returns:
The unit.