IFClite TypeScript API
    Preparing search index...

    Function promoteEntityType

    • Type promotion (e.g. IfcWall → IfcCurtainWall). Implemented as delete + create with meta.previousPath linking the new entity to the old path so consumers can render history.

      Parameters

      • doc: Doc
      • oldPath: string
      • newPath: string
      • newIfcClass: string
      • Optionaloptions: { keepAttributes?: boolean }

      Returns YMap<unknown> | undefined