DWG
DWG is Autodesk's native binary file format for AutoCAD. LinkCAD supports DWG import using the same engine as DXF, providing access to all geometry and layer data.
Format Summary
| Property | Value |
|---|---|
| Extensions | .dwg |
| Encoding | Binary |
| Import | |
| Export | — |
| License | Basic |
| Hierarchy | Blocks with INSERT references |
| Layers | Named layers with colors and properties |
Note
DWG is import-only. To produce DWG-compatible output, export as DXF (which AutoCAD can open natively).
Import Options
DWG import shares the same options as DXF import:
- Units & Scaling — physical units per DXF unit, scaling multiplier
- Arc Resolution — precision for arc-to-polyline conversion
- Entity Handling — text, HATCH processing, point import modes
- Layer Options — BYBLOCK/BYLAYER attribute resolution
Supported Versions
- AutoCAD R12 through AutoCAD 2018+
Common Workflows
DWG → GDSII
Convert mechanical AutoCAD drawings to IC mask layout format.
DWG → DXF
Convert native binary DWG to the open DXF interchange format.
DWG → Gerber
Generate photoplotter data from AutoCAD mechanical designs.
CLI / Command-File Options
DWG import shares the same option keys as DXF import. Additionally, the following export keys apply when converting to DWG-compatible output via DXF:
| Key | Type | Description |
|---|---|---|
DwgOutUnitsUnit |
int | Output units enum (see Units) |
DwgOutUnitsValue |
int | Output units scaling value |