Previous Topic

Next Topic

Book Contents

Example of conversion rule for Inches unit

The properties in this example define a unit called Inches. In this example, inches are both the unit being defined and the unit specified as the basis for conversion, so the conversion rule specified in the Conversion to Base Rule property simply multiplies the entered value by 1:

Property

Value

RefName

INCHES

Symbol

IN

Classification

Length

Base RefName

Inches

Conversion To Base Rule

UnitIsBase

Rule script text:

Data.Result=Data.BaseValue*1

Send Feedback