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

Properties

classes: DwgClass[]
entities: DwgEntity[]

All of entities in the model space.

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