IFClite TypeScript API
    Preparing search index...

    Interface CreateEntityOptions

    Options for createEntity.

    interface CreateEntityOptions {
        attributes?: Record<string, unknown>;
        children?: Record<string, string>;
        classifications?: ClassificationRef[];
        geometryRef?: GeometryRefRecord;
        ifcClass?: string;
        inherits?: Record<string, string>;
        materials?: MaterialAssignment[];
        meta?: EntityMeta;
        psets?: Record<string, Record<string, PropertyValue>>;
        quantities?: Record<string, Record<string, number>>;
        schemaVersion?: "ifc4" | "ifc4x3" | "ifc5";
        stampCreatedAt?: boolean;
    }
    Index
    attributes?: Record<string, unknown>
    children?: Record<string, string>
    classifications?: ClassificationRef[]
    geometryRef?: GeometryRefRecord
    ifcClass?: string
    inherits?: Record<string, string>
    materials?: MaterialAssignment[]
    meta?: EntityMeta
    psets?: Record<string, Record<string, PropertyValue>>
    quantities?: Record<string, Record<string, number>>
    schemaVersion?: "ifc4" | "ifc4x3" | "ifc5"
    stampCreatedAt?: boolean

    Stamp meta.createdAt with the wall clock when the caller supplies no meta.createdAt (default true — a genuinely new entity is created now, and that stamp is real provenance).

    Seeders pass false: an entity restored from a wire that carries no creation time has an UNKNOWN creation time, and the read clock is indistinguishable from the real thing once written. Absent provenance beats invented provenance — a missing field reads as "unknown", a fabricated one gets trusted.