IFClite TypeScript API
    Preparing search index...

    Function schemaFromIdentifier

    • The schema family a FILE_SCHEMA identifier names: IFC4X3_ADD2 -> IFC4X3, IFC2X3_TC1 -> IFC2X3, IFC4X4_DEV_20250101 -> IFC4X3. Undefined when no family matches, so the caller can keep looking. The one rule for reading an identifier, shared with the per-schema attribute lookups in ifc-schema.ts.

      Parameters

      • identifier: string

      Returns "IFC2X3" | "IFC4" | "IFC4X3" | "IFC5" | undefined