Interface defining the attributes for layer table records.

Extends the base AcDbSymbolTableRecordAttrs interface and adds layer-specific properties such as color, visibility, linetype, and other layer settings.

interface AcDbLayerTableRecordAttrs {
    color: AcCmColor;
    description?: string;
    isHidden?: boolean;
    isInUse?: boolean;
    isOff: boolean;
    isPlottable: boolean;
    linetype: string;
    lineWeight: number;
    materialId?: string;
    name: string;
    objectId?: string;
    ownerId?: string;
    standardFlags: number;
    transparency: number;
    [key: string]: any;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: any

Properties

color: AcCmColor

The color of the layer

description?: string

Optional description of the layer

isHidden?: boolean

Whether the layer is hidden

isInUse?: boolean

Whether the layer is in use

isOff: boolean

Whether the layer is turned off

isPlottable: boolean

Whether the layer is plottable

linetype: string

The linetype name for the layer

lineWeight: number

The line weight for the layer

materialId?: string

The material ID associated with the layer

name: string

The name of the symbol table record

objectId?: string

Unique identifier for the object

ownerId?: string

Identifier of the object that owns this object

standardFlags: number

Standard flags for layer properties (bit-coded values)

transparency: number

Transparency level of the layer (0-1)