IfcBooleanChoose

BACnet MVD

#### IfcBooleanChoose

Natural language names

| Boolean Choose

##### Semantic definitions at the function

Function Definition

Returns the first choice, if TRUE, otherwise the second choice.

> NOTE Definition according to ISO/CD 10303-42:1992
> This function returns one of two choices depending on the value of a Boolean input argument. The two choices are also input arguments.

> NOTE Function adapted from boolean_choose defined in ISO10303-42.

> HISTORY New function in IFC2.0

##### Formal representations

EXPRESS Specification
`

FUNCTION IfcBooleanChoose
(B : BOOLEAN ;
Choice1, Choice2 : GENERIC : Item) : GENERIC : Item;
IF B THEN
RETURN (Choice1);
ELSE
RETURN (Choice2);
END_IF;
END_FUNCTION;

`

Link to this page