IFClite TypeScript API
    Preparing search index...

    Interface PropertyCondition

    interface PropertyCondition {
        inherit?: "type" | "aggregation";
        operator:
            | "contains"
            | "gt"
            | "gte"
            | "lt"
            | "lte"
            | "equals"
            | "exists"
            | "notEquals";
        propertyName: string;
        psetName?: string;
        source: | "spatial"
        | "model"
        | "attribute"
        | "property"
        | "quantity"
        | "material"
        | "classification"
        | "geometry"
        | "zone";
        value: string
        | number
        | boolean;
    }
    Index
    inherit?: "type" | "aggregation"

    property/quantity only: 'aggregation' takes the nearest aggregate parent's value when the element has none (#5433). Type values are always read.

    operator:
        | "contains"
        | "gt"
        | "gte"
        | "lt"
        | "lte"
        | "equals"
        | "exists"
        | "notEquals"
    propertyName: string

    Attribute / property / quantity name, the spatial level for spatial (Container | Storey | Building | Site | Project), or the zone display mode for zone (Zone (default) | Straddles). Ignored for material/classification/model.

    psetName?: string

    Property set name (for property/quantity sources); the zone-SET id for zone.

    source:
        | "spatial"
        | "model"
        | "attribute"
        | "property"
        | "quantity"
        | "material"
        | "classification"
        | "geometry"
        | "zone"

    Where the compared value comes from:

    • attribute — a built-in attribute (Name, Class, Description, …)
    • property / quantity — a pset / qto value (uses psetName)
    • material — any of the element's material names (multi-valued)
    • classification — any classification code or name (multi-valued)
    • spatial — a spatial-container name; propertyName selects the level (Container, Storey (default), Building, Site, or Project)
    • model — the source model / file name (federation identity)
    • zone — a location-zone assignment (issue #1810); psetName holds the zone-SET id, propertyName selects Zone (default, the zone name — or the straddled zones joined when the element crosses a boundary) or Straddles (boolean); geometry is the World Coordinate (#3671) — propertyName selects axis X (default) | Y | Z
    value: string | number | boolean