Navigation
Navigate Navigate Navigate Navigate

IfcBooleanChoose

Function Semantic Definition
Definition from 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 Corresponding STEP function boolean_choose. Please refer to ISO/IS 10303-42:1994, p. 158 for the final definition of the formal standard.

HISTORY New function in IFC Release 2.0.

EXPRESS specification:

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