Interface defining the attributes for block table records.

interface AcDbBlockTableRecordAttrs {
    blockInsertUnits: AcDbUnitsValue;
    blockScaling: AcDbBlockScaling;
    explodability: number;
    extensionDictionary?: string;
    flags: number;
    layoutId: string;
    name: string;
    objectId?: string;
    origin: AcGePoint3d;
    ownerId?: string;
    pathName: string;
    previewIcon?: Uint8Array;
    [key: string]: any;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: any

Properties

blockInsertUnits: AcDbUnitsValue

Block insertion units (DXF group code 70 on BLOCK_RECORD)

blockScaling: AcDbBlockScaling

Block scalability flag (DXF group code 281)

explodability: number

Block explodability flag (DXF group code 280)

extensionDictionary?: string

The objectId of the extension dictionary owned by the object. If the object does not own an extension dictionary, then the returned objectId is set to undefined.

flags: number

Block-type flags (DXF group code 70 on BLOCK / BLOCK_HEADER). See AcDbBlockTableRecordFlag.

layoutId: string

The object id of the associated AcDbLayout object in the Layouts dictionary

name: string

The name of the symbol table record

objectId?: string

Unique identifier for the object

origin: AcGePoint3d

The base point of the block in WCS coordinates

ownerId?: string

Identifier of the object that owns this object

pathName: string

Path name of the externally referenced drawing when this block is an xref (DXF group code 1 on BLOCK). Empty when not an xref or the path is unknown.

previewIcon?: Uint8Array

PreviewIcon binary payload (DXF BLOCK_RECORD group 310), typically a DIB (BITMAPINFO + bits). Stored as raw bytes rather than hex to save memory.