interface DwgProxyEntity {
    applicationEntityClassId: number;
    color?: number;
    colorIndex?: number;
    colorName?: string;
    entityData?: string;
    entityDataSize?: number;
    graphicsData?: string;
    graphicsDataSize?: number;
    handle: string;
    isInPaperSpace?: boolean;
    isVisible?: boolean;
    layer: string;
    lineType?: string;
    lineTypeScale?: number;
    lineweight?: number;
    linkedObjectIds?: string[];
    materialObjectHardId?: string;
    objectDrawingFormat?: number;
    originalDataFormat?: DwgProxyOriginalDataFormat;
    originalDxfName?: string;
    ownerBlockRecordSoftId: string;
    ownerDictionaryHardId?: string | number | boolean;
    ownerDictionarySoftId?: string | number | boolean;
    plotStyleHardId?: string;
    proxyByte?: number;
    proxyEntity?: string;
    proxyEntityClassId: number;
    shadowMode?: number;
    subclassMarker: "AcDbProxyEntity";
    transparency?: number;
    transparencyType: number;
    type: "ACAD_PROXY_ENTITY";
    unknownData?: string;
    unknownDataSize?: number;
    xdata?: DwgXData;
}

Hierarchy (View Summary)

Properties

applicationEntityClassId: number

Application entity class ID from CLASSES section order (500+)

color?: number

A 24-bit color value that should be dealt with in terms of bytes with values of 0 to 255. The lowest byte is the blue value, the middle byte is the green value, and the third byte is the red value. The top byte is always 0.

colorIndex?: number

Color number (present if not BYLAYER); zero indicates the BYBLOCK (floating) color; 256 indicates BYLAYER; a negative value indicates that the layer is turned off (optional)

colorName?: string

Color name.

entityData?: string

Binary entity data as hex string

entityDataSize?: number

Size of entity data in bits

graphicsData?: string

Binary graphics data as hex string

graphicsDataSize?: number

Size of graphics data in bytes

handle: string

Handle

isInPaperSpace?: boolean

Absent or zero indicates entity is in model space. 1 indicates entity is in paper space (optional).

isVisible?: boolean

Object visibility (optional):

  • 0: Visible
  • 1: Invisible
layer: string

Layer name

lineType?: string

Linetype name (present if not BYLAYER). The special name BYBLOCK indicates a floating linetype (optional)

lineTypeScale?: number

Linetype scale (optional)

lineweight?: number

Lineweight enum value. Stored and moved around as a 16-bit integer.

linkedObjectIds?: string[]

Linked object IDs from the proxy entity

materialObjectHardId?: string

Hard-pointer ID/handle to material object (present if not BYLAYER)

objectDrawingFormat?: number

Object drawing format when it becomes a proxy

originalDataFormat?: DwgProxyOriginalDataFormat

Original custom object data format

originalDxfName?: string

Original DXF entity name (group 1)

ownerBlockRecordSoftId: string

Soft-pointer ID/handle to owner BLOCK_RECORD object

ownerDictionaryHardId?: string | number | boolean

Hard-owner ID/handle to owner dictionary (optional)

ownerDictionarySoftId?: string | number | boolean

Soft-pointer ID/handle to owner dictionary (optional)

plotStyleHardId?: string

Hard-pointer ID/handle to the plot style object

proxyByte?: number

Number of bytes in the proxy entity graphics represented in the subsequent 310 groups, which are binary chunk records (optional)

proxyEntity?: string

Proxy entity graphics data (multiple lines; 256 characters max. per line) (optional)

proxyEntityClassId: number

Proxy entity class ID (always 498)

shadowMode?: number

Shadow mode

  • 0: Casts and receives shadows
  • 1: Casts shadows
  • 2: Receives shadows
  • 3: Ignores shadows

Note: Starting with AutoCAD 2016-based products, this property is obsolete but still supported for backwards compatibility.

subclassMarker: "AcDbProxyEntity"
transparency?: number

Transparency value.

transparencyType: number

Transparency type.

  • 0 BYLAYER
  • 1 BYBLOCK
  • 3 alpha
type: "ACAD_PROXY_ENTITY"

Entity type

unknownData?: string

Unknown binary data as hex string (group 311)

unknownDataSize?: number

Size of unknown binary data in bytes (R2010+: group 162)

xdata?: DwgXData

The extension dictionary attached to the entity (optional).