interface DwgDatabase {
    entities: DwgEntity[];
    header: DwgHeader;
    objects: { IMAGEDEF: DwgImageDefObject[]; LAYOUT: DwgLayoutObject[] };
    tables: {
        BLOCK_RECORD: DwgTable<DwgBlockRecordTableEntry>;
        DIMSTYLE: DwgTable<DwgDimStyleTableEntry>;
        LAYER: DwgTable<DwgLayerTableEntry>;
        LTYPE: DwgTable<DwgLTypeTableEntry>;
        STYLE: DwgTable<DwgStyleTableEntry>;
        VPORT: DwgTable<DwgVPortTableEntry>;
    };
}

Properties

entities: DwgEntity[]

All of entities in the model space.

header: DwgHeader
objects: { IMAGEDEF: DwgImageDefObject[]; LAYOUT: DwgLayoutObject[] }
tables: {
    BLOCK_RECORD: DwgTable<DwgBlockRecordTableEntry>;
    DIMSTYLE: DwgTable<DwgDimStyleTableEntry>;
    LAYER: DwgTable<DwgLayerTableEntry>;
    LTYPE: DwgTable<DwgLTypeTableEntry>;
    STYLE: DwgTable<DwgStyleTableEntry>;
    VPORT: DwgTable<DwgVPortTableEntry>;
}