KUIML
Blue Cat's User Interface Programming Language
FORMULA_PARAM

Description

This element creates a non modifiable parameter which value is computed using a mathematical formula that can reference other model elements.

Inherited Attributes

See PARAM. The FORMULA_PARAM attribute does not have the persistent attribute since its value is computed automatically.

Specific Attributes

Name Value Type Default Value Description Comment V. Exp.

formula

Math Formula

Empty.

Mathematical formula to compute the parameter.

The formula can reference any parameter, curve or surface available in the data model. Teh value of the parameter is modified anytime one of the referenced items changes.

1.6

Events

value_changed

event

the event is triggered anytime the value of the object has changed.

2.0

Examples

The code below creates a parameter ("f_param")which is computed from the value of another ("variable"):

    <PARAM  id="variable" min="0" max="10" default="0"/>
    <FORMULA_PARAM  id="f_param" formula="cos(variable)"/>