Skip to content

Dataset

AutoCAD drawing file datasets for AI training

An AutoCAD dataset is an archive of native DWG drawings with their layers, block definitions and block references, attributes, dimensions, layouts and viewports, together with the external references, sheet sets and plot style tables that turn them into issued sheets. SourceX sources it to a buyer's spec from established businesses that run AutoCAD, such as engineering firms, fabricators and facility owners. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Native AutoCAD drawings with layers, blocks, attributes, dimensions and layouts, plus their xrefs, sheet sets and plot style tables
Typical systems
AutoCAD and AutoCAD LT; drawings from AutoCAD toolsets only where their custom objects are flagged
Typical history
Specified by the buyer; a DWG holds only its last saved state, so history is the copies a company saved at each revision
Modality
2D and 3D vector geometry; layer, block and attribute tables as structured data; plotted sheets as PDF
Delivery formats
Agreed per order; DWG in a named format release, DXF written from it, eTransmit packages, and entity tables as JSON
Preparation
Title blocks, stamps and site addresses removed or replaced; drawing properties and saved paths cleared; real-world coordinates shifted as agreed
Licensing
Rights reviewed per project for client, customer and supplier designs and for third-party block libraries; permitted use set in the license
Availability
Sourced to your spec by discipline, drawing type and layer standard; supply is not guaranteed
CAD and design filesIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
drawing_idstringRe-keyed ID for one Drawing (DWG), stable across its revision copies and the xrefs that point at it.
drawing_headerobjectHeader values of the Drawing: DWG format release, the product that last saved it, INSUNITS, extents and a count of proxy objects.
layersarrayLayer table rows: name, color, linetype, lineweight, plot flag and frozen or locked state.
layer_standardobjectThe company's CAD manual, standards file and template that say what each Layer and block name means.
block_definitionsarrayBlock definitions: name, the entities inside, Attribute definitions with tag, prompt and default, and whether the block is dynamic.
block_referencesarrayBlock references: definition name, resolved name for dynamic blocks, Layer, insertion point, scale, rotation and Attribute values by tag.
entitiesarrayModel space entities such as Polyline, line, arc, hatch and text, each with its handle, Layer and geometry.
dimensionsarrayDimension entities: Dimension style, definition points, measured value and any text override.
layoutsarrayLayouts with their page setup and each Viewport's scale, view center and per-viewport frozen layers.
xrefsarrayExternal references: name, attach or overlay type, saved path, nesting and whether the file was found.
dependenciesobjectFonts, images, underlays and data links the Drawing names, with those missing from the delivery listed.
sheet_setobjectThe Sheet set entry for a Layout: sheet number, title, subset and custom properties.
plot_style_tableobjectThe Plot style table a Layout plots with: file name, color-dependent or named type, and the lineweight each color or style maps to.
revision_copiesarrayOther saved copies of the same Drawing, each with the revision read from its title block.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "drawing_id": "dwg_5e20c7",
  "drawing_header": {
    "format": "[DWG FORMAT]", "saved_by": "AutoCAD",
    "insunits": "millimeters", "proxy_objects": 0
  },
  "layers": [
    {"name": "A-WALL", "color": 2, "linetype": "Continuous"},
    {"name": "A-DOOR", "color": 3},
    {"name": "Defpoints", "color": 7, "plot": false}
  ],
  "layer_standard": {"document": "cad_manual_v3.pdf", "standards_file": "office.dws"},
  "block_definitions": [
    {"name": "DOOR-SGL", "dynamic": true, "attribute_tags": ["MARK", "WIDTH", "FIRE"]}
  ],
  "block_references": [
    {
      "handle": "2F3A", "name": "*U41", "effective_name": "DOOR-SGL",
      "layer": "A-DOOR", "insert": [12450, 8300], "rotation_deg": 90,
      "attributes": {"MARK": "D-114", "WIDTH": "915", "FIRE": "45 MIN"}
    }
  ],
  "entities": [
    {
      "handle": "1B90", "type": "LWPOLYLINE", "layer": "A-WALL",
      "vertices": [[12000, 8300], [12000, 14550], [18250, 14550]]
    }
  ],
  "dimensions": [
    {
      "handle": "3C07", "style": "ARCH-100", "measurement": 6250.0,
      "text_override": "6200"
    }
  ],
  "layouts": [
    {
      "name": "A-201", "plot_style_table": "office_mono.ctb",
      "viewports": [{"scale": "1:100", "frozen_layers": ["A-FURN"]}]
    }
  ],
  "xrefs": [
    {
      "name": "X-GRID", "type": "overlay", "saved_path": "..\\xref\\X-GRID.dwg",
      "resolved": true
    },
    {
      "name": "S-BASE", "type": "attach", "saved_path": "[PATH REMOVED]\\S-BASE.dwg",
      "resolved": false
    }
  ],
  "dependencies": {
    "fonts": ["romans.shx", "office_title.ttf"],
    "fonts_missing": ["office_title.ttf"]
  },
  "sheet_set": {"sheet_number": "A-201", "subset": "Architectural"},
  "plot_style_table": {
    "file": "office_mono.ctb", "type": "color_dependent",
    "lineweight_mm_by_color": {"2": 0.5, "3": 0.25}
  },
  "revision_copies": [{"file": "A-201_revB.dwg", "title_block_rev": "B"}]
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Classify vector geometry

Layer names under a documented standard label each line and polyline as wall, pipe, grid or annotation.

Detect symbols with ground truth

Block references give the class, position, rotation and attribute values of every symbol.

Train drafting agents

Native entities, styles and layouts show how a drawing is built, for models that write DXF or drive AutoCAD by script.

Check drawings against a standard

Off-standard layers, exploded blocks and overridden dimensions are labeled defects a checker can learn.

Evaluate drawing understanding

Held-out sheets test whether a model can count doors, read a title block or measure a room from closed polylines.

Use-case guides: Document AI, enterprise search and RAG, Coding agents, Private evaluation sets

What makes this data valuable

Complete references

Every xref, font, image and plot style table a drawing names is in the delivery.

Standard followed

Most entities sit on layers the company's standard lists, and few on layer 0.

Live blocks

Symbols are block references with filled attributes, not exploded linework.

Honest dimensions

Dimensions are associative and few carry a typed override.

Sheets through layouts

Sheets are plotted from layouts with scaled viewports and listed in a sheet set.

Revision copies kept

Each revision was saved as its own file, with the title block revision filled in.

Document stack

AutoCAD dataset

This page covers autoCAD drawing files.Illustrative

Entities carry no type, so the layer and block standard is the label set

A DWG is a small database. Symbol tables hold the layers, block definitions, linetypes, text styles and dimension styles, and every entity lives in a block record, model space and each layout included. The entities are lines, lightweight polylines, arcs, circles, hatches, text, dimensions and block references. None of them says wall or pipe. Plain AutoCAD has no wall object, so two parallel polylines are a wall because they sit on a layer the company calls A-WALL, and a pipe because the layer is P-DOMW. The office CAD manual, drawing template and standards file are therefore the label definitions, and must be licensed and documented with the files.

A block definition stores a symbol once, and each block reference places it with an insertion point, scale and rotation. Attribute definitions give the block its tags, and each reference carries the values: a door mark, an equipment number, the sheet number in a title block. Two AutoCAD behaviors break naive counts. When a drafter stretches or flips a dynamic block, the reference is repointed to an anonymous definition with a generated name beginning *U, so a reader must resolve the original name. And an exploded block loses its name and attributes and becomes loose entities.

Two more encodings mislead a reader. In drawings that use color-dependent plot styles, color is a pen assignment: the CTB file maps each color index to a plotted lineweight, so without the CTB the line hierarchy is gone. A dimension stores its measured value and an optional text override. A drafter who types a number over the measurement leaves a label that disagrees with the geometry. The drawing itself is unitless, and the INSUNITS value that states the intended unit can be unset or wrong, so check it against a dimensioned length.

References are linked by path, and the file keeps no history

An issued sheet is seldom one file. A sheet drawing attaches or overlays base drawings as external references, which may nest, and may link images, PDF underlays and spreadsheet data. Each is stored as a saved path. The SHX fonts named by its text styles live in AutoCAD's support folders and the TrueType fonts in the operating system's font folder, the plot style table named in each layout's page setup lives in the plot styles folder, and the sheet set file lists layouts across many drawings by path. Copy only the DWGs off a project drive and the xrefs come up unresolved, text falls back to a substitute font and changes width, and plotted lineweights cannot be reproduced. eTransmit is AutoCAD's own packager. It gathers a drawing with those dependents and writes a report.

A DWG holds its current state and nothing else. There is no change log in the database, and the backup file holds only the previous save. Revisions exist as separately saved copies, as revision attributes and clouds in the title block, and as issued PDFs. Order the copies by the title block revision, not by file dates, which copying and re-saving can change. A handle stays with its object from save to save, so two copies descended from one file can be compared object by object, while a copy made by writing out a block or pasting into a new file gets new handles.

Drawings saved by AutoCAD Architecture, AutoCAD MEP, Plant 3D or Civil 3D hold custom objects that AutoCAD without the matching object enabler shows as proxies and that other readers may drop. To test a sample, open a set on a machine with no office support paths, list unresolved references and substituted fonts, run AUDIT, and compare a plot of one layout with the issued PDF.

What to check before licensing

  • Ask how the files were gathered, eTransmit or a folder copy, and get a dependency report per drawing listing xrefs, images, fonts and plot style tables as found or missing.
  • Check that the company owns the designs outright. Client, customer and supplier drawings held under NDA are common in project folders and as xrefs.
  • Check how title blocks, stamps and site addresses were handled, and look in drawing properties, last-saved-by names, saved paths, geographic location and real-world coordinates.
  • List third-party block libraries inside the drawings, such as manufacturer blocks and purchased symbol sets, and check whether each may be passed on.
  • Have the buyer and the data owner each check Autodesk's terms on exported data, on the DWG format and on use of its APIs, and note any file saved under an educational license.
  • Get the layer and block standard as a document, and measure on a sample how many entities sit on listed layers.
  • Ask which AutoCAD release and toolset saved each file, count proxy objects, and say whether xrefs should be bound, since binding changes xref layer names.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Should the delivery be DWG or DXF?

Ask for both. The DWG is the file as the company saved it. DXF is Autodesk's documented interchange form of the same drawing database, which many open parsers read directly. Custom objects and 3D solid bodies stay opaque to most parsers in either format, so say if you need them. Name the format release you can read, because newer DWG formats do not open in older software.

Why must the layer and block standard come with the drawings?

Because it is the only thing that says what the geometry means. AutoCAD entities carry no element type, so a line is a wall, a pipe or a property boundary according to its layer name and the blocks around it. The CAD manual, template and standards file define those names.

Does a DWG contain its revision history?

No. A DWG stores the drawing as last saved, with no change log. Earlier states exist only where the company kept separately saved copies or issued PDFs, and the title block's revision attributes say which copy is which. Some cloud storage keeps file versions outside the DWG, so ask.

What happens to external references in a delivery?

They arrive resolved only if they were gathered with the drawing. An xref is a saved path to another DWG, so a file copied alone shows an unresolved reference where the base plan should be. Decide whether you want them left as separate files or bound into each sheet.

Are drawings from Civil 3D or other AutoCAD toolsets the same thing?

They share the DWG container but not the content. Civil 3D, AutoCAD Architecture, AutoCAD MEP and Plant 3D add custom objects such as surfaces, alignments and walls, which AutoCAD without the matching object enabler and most parsers see as proxy objects. This page covers drawings made of ordinary AutoCAD entities. Ask which product saved each file.

Is SourceX affiliated with Autodesk?

AutoCAD is named to identify the system the records come from. That does not imply a partnership with or endorsement by Autodesk. The records belong to the business that runs AutoCAD, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

  • AutoCAD DWG and DXF drawing archives

    Native DWG and DXF files with layers, blocks, attributes, xrefs, layouts and plot settings intact

  • CAD models with matching drawings

    Released design packages: part and assembly STEP files, each paired with the drawing issued at the same revision

  • Civil 3D design models

    Civil 3D project drawings as DWG files with a per-object extract of surfaces, alignments, profiles, corridors and pipe networks

  • MicroStation DGN design files

    MicroStation DGN files with a per-model extract of elements, levels, cells, tags, item types and reference attachments, plus the libraries and plots that go with them

  • Revit BIM models

    Revit project models and family files: categorized elements with type and instance parameters, and the views, sheets and schedules drawn from them

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies