BIM.works SDKs - v3.0.0-beta.168
    Preparing search index...

    Interface DwgSemantics

    The layouts of a DWG model, as the server derived them (DWG_SEMANTIC_JSON_1), and of a geometry PDF, whose pages the viewer maps onto layouts (PDF_SEMANTIC_JSON_1): Viewer3d.getDwgSemanticsMap, Viewer3d.addDwgSemanticsListener

    interface DwgSemantics {
        kind: "PDF" | "DWG";
        layers: DwgLayer[];
        layouts: DwgLayout[];
        version: number;
    }
    Index

    Properties

    kind: "PDF" | "DWG"

    The drawing's format: a DWG, or a geometry PDF whose pages are mapped onto layouts

    layers: DwgLayer[]

    The drawing's layer table; empty for a PDF

    layouts: DwgLayout[]

    Model space first, then the sheets (paper space layouts) in tab order; for a PDF one per page, page 1 as model space

    version: number

    The format version, 1