IFClite TypeScript API
    Preparing search index...

    Interface StoreyRule

    interface StoreyRule {
        kind: "storey";
        op: SetOp;
        refs?: readonly { expressId: number; modelId: string }[];
        values: string[];
    }
    Index
    kind: "storey"
    op: SetOp
    refs?: readonly { expressId: number; modelId: string }[]

    Optional exact storey identity, set only when the rule was mirrored from a HierarchyPanel click (which holds the real (modelId, expressId) of the storey the user selected). IfcBuildingStorey.Name is optional and not unique — two distinct storeys, even within one model, routinely share a Name (repeated "Level 1" across wings, or federated buildings). When refs is present, the evaluator matches an element's storey by this exact identity instead of by name, so clicking one storey never silently pulls in a same-named sibling. Undefined for manually authored/typed rules (the chip UI only offers names to type against), which keep matching by name as before.

    values: string[]