IFClite TypeScript API
    Preparing search index...

    Interface QuantityRule

    interface QuantityRule {
        inherit?: "type" | "aggregation";
        kind: "quantity";
        op: NumericOp;
        quantityName: string;
        quantityNameKind?: TextKind;
        setName: string;
        setNameKind?: TextKind;
        value: number;
        valueUnit?: "si";
    }

    Hierarchy

    • SubjectReadOptions
      • QuantityRule
    Index
    inherit?: "type" | "aggregation"

    Where a missing value may come from (#5433). 'type': a quantity also reads its type's quantity sets (properties always read their type's property sets). 'aggregation': an element with no value of its own (its type's included, for quantities too) takes the nearest IfcRelAggregates ancestor's. Never implicit: absent means the element's own (and, for properties, its type's) values only.

    kind: "quantity"
    quantityName: string
    quantityNameKind?: TextKind

    How quantityName reads.

    setName: string
    setNameKind?: TextKind

    How setName reads.

    value: number
    valueUnit?: "si"

    'si': the rule's numeric operand is in SI base units (metres, square metres, cubic metres), the way IDS states measure values. Each value is converted to SI with its own unit (an explicit Unit on the property or quantity, else the project unit for its measure type) before comparing. Values with no unit (labels, counts) are compared as stored. Absent: the operand is in the model's own units (#5225).