LinkList 2025 Technical Documentation

Supported Entities

LinkList 2025 is designed to extract XML or JSON content from AutoCAD DWG files.

The entities that are extracted from AutoCAD DWG file are:

Sample Entities used in this section

Note: You can download the sample DWG used in this sample, and you can access the source-code of the Full XML Reference Sample and Full JSON Reference Sample files used in this section. DWG Reference Drawing

Layers

XML Output Sample - Layers

JSON Output Sample - Layers

Polyline

XML Output Sample - Polyline

JSON Output Sample - Polyline

Line

XML Output Sample - Line

JSON Output Sample - Line

Circle

XML Output Sample - Circle

JSON Output Sample - Circle

Ellipse

XML Output Sample - Ellipse

JSON Output Sample - Ellipse

Spline

XML Output Sample - Spline

JSON Output Sample - Spline

Arc

XML Output Sample - Arc

JSON Output Sample - Arc

Hatch

XML Output Sample - Hatch

JSON Output Sample - Hatch

Text

XML Output Sample - Spline

JSON Output Sample - Spline

MText

XML Output Sample - MText

JSON Output Sample - MText

3DPolyline

XML Output Sample - 3DPolyline

JSON Output Sample - 3DPolyline

Block

XML Output Sample - Block

JSON Output Sample - Block

BlockReference with Attributes

XML Output Sample - BlockReference with Attributes

JSON Output Sample - BlockReference with Attributes

MLine

XML Output Sample - MLine

JSON Output Sample - MLine

Color Method

Colors Methods are defined with the following settings:

kByLayer       0xC0            Color is specified by the layer object on which the object resides.
kByBlock       0xC1            Color is specified by the block reference color.
kByColor       0xC2            Color is specified by an RGB value.
kByACI         0xC3            Color is specified by an index (ACI) of a color palette.
kByPen         0xC4            Color is specified by an index of a pen color table.
kForeground    0xC5            Color is the same as the foreground color.
kByDgnIndex    0xC7            Color is specified by an index of a .dgn color table.
kNone          0xC8            Color is absent (object is clear).

NOTE: In LinkList2020, we do an And with 0x0F to just get the 0 to 8 and not the 0xCn portion. So LinkList2020 will write out “3” instead of “0xC3 for Color Index.

For Palettes, please use the references links:

Platform Palette Link
AutoCAD DWG AutoCAD Light Palette
AutoCAD DWG AutoCAD Dark Palette
MicroStation DGN DGN Palette *) not used with linklist2020 and dwglist2020
AutoDesk DWF DWF Palette *) not used with linklist2020 and dwglist2020

JSON Output Sample - Color Method

Full XML Reference Sample

Full JSON Reference Sample

Last updated on 30 Jan 2021
Published on 17 Jul 2020