MLightCAD
    Preparing search index...

    Options for attaching a read-only xref overlay via AcApXrefManager.attachOverlay.

    Provide either sourceDb or content; if both are absent, attach fails.

    interface AcApXrefAttachOptions {
        blockName: string;
        content?: ArrayBuffer;
        fileName: string;
        insertId?: string;
        sourceDb?: AcDbDatabase;
        sourcePath: string;
        transform?: AcApXrefTransform;
    }
    Index

    Properties

    blockName: string

    Host block-table record name to associate with this overlay.

    content?: ArrayBuffer

    Raw DWG/DXF bytes; used when sourceDb is not provided.

    fileName: string

    File name passed to the overlay loader when content is used.

    insertId?: string

    When set, associates the session with an existing host INSERT.

    sourceDb?: AcDbDatabase

    When set, skips a second file read and uses this database for rendering.

    sourcePath: string

    Source file path or display name stored on the session.

    transform?: AcApXrefTransform

    Optional transform applied to the overlay layout after load.