IFClite TypeScript API
    Preparing search index...

    Interface IDSPartOfFacet

    PartOf facet - match by spatial/compositional relationship

    interface IDSPartOfFacet {
        anyRelation?: boolean;
        entity?: IDSEntityFacet;
        facets?: (
            | IDSAttributeFacet
            | IDSPropertyFacet
            | IDSClassificationFacet
            | IDSMaterialFacet
        )[];
        instructions?: string;
        rawRelation?: string;
        relation: PartOfRelation;
        type: "partOf";
    }

    Hierarchy (View Summary)

    Index
    anyRelation?: boolean

    No relation in the XML: any part-of relation counts, recursively (IDS 1.0, #7401); relation then holds the containment default.

    Optional entity constraint for the related parent

    facets?: (
        | IDSAttributeFacet
        | IDSPropertyFacet
        | IDSClassificationFacet
        | IDSMaterialFacet
    )[]

    IDS 1.1 PREVIEW (#379, draft PR #380): further facets the related parent must satisfy.

    instructions?: string

    IDS 1.1 PREVIEW. Only set by parseIDS(xml, { preview: { ids11: true } }).

    rawRelation?: string

    The XML relation string when it is not a recognised PartOfRelation; the auditor flags it.

    relation: PartOfRelation

    Relationship type (normalised; defaults to IfcRelContainedInSpatialStructure when unrecognised).

    type: "partOf"