IFClite TypeScript API
    Preparing search index...

    Interface SourceAttributes

    interface SourceAttributes {
        associations?: SourceAssociation[];
        attributes: IfcAttributeValue[];
        axisRef: string | null;
        lengthUnitScale?: number;
        ownerHistoryId: number | null;
        parentPlacementId: number | null;
        placementExpressId: number;
        refDirectionRef: string | null;
        representationId: number | null;
        sourceLocation: DuplicateVec3;
        storeyId: number | null;
        type: string;
    }
    Index
    associations?: SourceAssociation[]

    Association rels containing the source. Each one is replayed against the duplicate so the export carries the same psets, qsets, material, classifications, documents, and type binding as the source. Empty array (or omitted) skips the cloning step.

    attributes: IfcAttributeValue[]

    Source positional attributes as parsed by EntityExtractor.

    axisRef: string | null

    The IfcAxis2Placement3D's Axis ref (index 1), or null when omitted ($ in STEP). Reused on the new placement so the duplicate keeps source rotation.

    lengthUnitScale?: number

    Model length-unit scale (metres per native unit; 0.001 for mm). sourceLocation is in the file's native units while options.offset is metres, so the offset is converted before being applied. Defaults to 1 (metre file) when unset.

    ownerHistoryId: number | null

    OwnerHistory expressId from the source (positional index 1 on IfcRoot), or null when the source omitted it. IFC4 made IfcRoot.OwnerHistory optional, so a duplicate has to be able to round-trip the missing case.

    parentPlacementId: number | null

    Express id of the IfcLocalPlacement that the source's placement is chained to (parent). May be null when the source sits at the spatial root.

    placementExpressId: number

    Express id of the source's IfcLocalPlacement (positional index 5 on IfcProduct).

    refDirectionRef: string | null

    The IfcAxis2Placement3D's RefDirection ref (index 2), or null when omitted.

    representationId: number | null

    Express id of the source's Representation (positional index 6 on IfcProduct). May be null.

    sourceLocation: DuplicateVec3

    The 3-component cartesian point referenced by the source's IfcAxis2Placement3D (Location, attribute index 0).

    storeyId: number | null

    Express id of the IfcBuildingStorey containing the source — emit a fresh IfcRelContainedInSpatialStructure pointing at it. Null skips the rel.

    type: string

    Source entity type (e.g. 'IfcWall', 'IfcColumn').