IFClite TypeScript API
    Preparing search index...

    Interface MarkupAnchor

    Placement/unit context shared by every markup builder — the subset of SpatialAnchor (anchor.ts) markup needs. Deliberately narrower than the full SpatialAnchor: markup has no Body/Axis solid geometry, so it needs no bodyContextId/axisContextId.

    interface MarkupAnchor {
        guidRandom?: RandomSource;
        lengthUnitScale?: number;
        ownerHistoryId: number | null;
        schema?: SpatialAnchorSchema;
        storeyPlacementId: number;
    }
    Index
    guidRandom?: RandomSource

    Optional seeded randomness for emitted GlobalIds; see SpatialAnchor.guidRandom.

    lengthUnitScale?: number

    Model length-unit scale (metres per native unit); see SpatialAnchor.lengthUnitScale.

    ownerHistoryId: number | null

    IfcOwnerHistory expressId, or null when the model has none (see SpatialAnchor).

    schema?: SpatialAnchorSchema

    Target schema; see SpatialAnchor.schema. Defaults to IFC4.

    storeyPlacementId: number

    The IfcLocalPlacement each markup annotation's own placement chains from (typically the target storey's placement, from resolveSpatialAnchor).