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:
- Layers
- Polyline
- Line
- Circle
- Ellipse
- Spline
- Arc
- Hatch
- Text
- MText
- MLine
- 3DPolyline
- Block
- BlockReference
- Attributes
- Color Method
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.

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 | 
