Guides/Drawing standards
Export and Import Block Attributes with Excel — Many AutoCAD Drawings in One Workbook

Short answer: to get attributes out of AutoCAD, use DATAEXTRACTION, which builds a table or a file from the drawings you select. To edit values outside AutoCAD and bring them back, use the Express Tools ATTOUT and ATTIN, which work through a tab-delimited text file for the drawing that is open. DATAEXTRACTION does not write edited values back, and ATTOUT and ATTIN mean repeating the round trip drawing by drawing.
This guide does the whole round trip for a set of drawings with BlockSync, part of CADXChange Toolkit: export to one Excel workbook, change the values with any Excel technique, check a preview and import them back.
The example is six piping drawings with 28 VALVE blocks, each carrying TAG, SIZE, TYPE and MODEL. MODEL still says TBD and has to come from a vendor's list keyed by valve type and size.
1. Export the blocks to Excel
Open BlockSync and add the drawings with Add Files or Add Folder. It lists every block it found, with the number of references and the number of files. Here VALVE has 28 references in 6 files.
Tick the block on the Blocks tab and click Extract to Excel. Only ticked blocks are exported, each to its own tab of the workbook.
2. See what the export contains
The B_VALVE tab has one row per valve across all the drawings. The columns on the left identify the file, the block and its handle, followed by layer and position (left out of the picture). Then comes one column for each attribute tag: here MODEL, SIZE, TAG and TYPE.
Change the values in the attribute columns. You cannot create an attribute that the block does not have, and _File and _Handle must stay as they are.

3. Fill the values from a lookup list
Add the vendor's list to the workbook as another sheet, here a Vendor list tab with one row per type and size, such as GATE-DN25 with model GV-025.
Fill MODEL from it. With TYPE in column N and SIZE in column L, the first data row uses =VLOOKUP(N3&"-"&L3,'Vendor list'!$A$2:$B$13,2,FALSE), filled down to the last valve. Check the column letters in your own sheet. Pasting a column, Find and Replace, or a formula built from other columns work too, because BlockSync imports what the cell displays.
Save the workbook, preferably in the same folder as the drawings.

4. Check the filled sheet
Look through the MODEL column for errors such as #N/A before you go on. A valve whose type and size are missing from the vendor's list shows up here.

5. Preview the import
Switch to the Excel → Blocks tab and pick the workbook. With Same folder as Excel file ticked, the drawings next to it are matched by file name, and each row finds its block by file and handle. Leave Automatic backup ticked.
The Diff preview lists every change with the current and the new value; in the example, 28 attribute changes in 6 files and none blocked. Nothing is written until you confirm.
6. Write back and verify
Close the drawings if they are open in AutoCAD, click Write Selected Files and confirm. Each drawing is backed up, written, and its changed values are read back. The results screen shows the status of every file; Rollback All restores the whole run.
To check it independently, export the drawings again and compare the MODEL column with the vendor's list.
The same round trip works for any attribute on any block: review comments, corrected descriptions, purchasing status or values checked against a master list. A change that cannot be written, for example a tag the block does not have or text that contains a field, is marked as blocked and the rest of the run carries on.
If the blocks need an attribute they do not have yet, update the block definition first; the ATTSYNC guide covers doing that without losing values. CADXChange Toolkit runs on Windows 10 and 11 without AutoCAD and comes with a 30-day full trial. Writing to drawings and exporting need a licence after the trial.
Try it on your own drawings
CADXChange Toolkit does this for a whole folder of drawings, with a preview and a backup first. The 30-day trial has every feature.
Start the free trial →Before you start — common questions
- How do I export block attributes from several AutoCAD drawings to Excel?
- In AutoCAD, DATAEXTRACTION can read attributes from selected drawings into a table or a file. To get a sheet you can edit and import again, add the drawings in BlockSync, tick the blocks and click Extract to Excel: one row per block, one column per attribute tag.
- How do I import attribute values from Excel back into AutoCAD?
- With AutoCAD alone, ATTIN imports a tab-delimited text file into the open drawing. With BlockSync, edit the exported workbook and use the Excel → Blocks tab: it previews every change across all the drawings, backs them up and writes the values.
- Can I use formulas or VLOOKUP in the spreadsheet?
- Yes. BlockSync imports what the cell displays. Keep dates and numbers with leading zeros as text so that Excel does not reformat them.
- Can I add a new attribute from the spreadsheet?
- No. You can change the values of attributes the blocks already have, but you cannot add a tag that a block does not define.
- Can it change dynamic block properties?
- BlockSync can export them in separate columns when Include dynamic block attributes is ticked. A value outside the property's allowed list is blocked, and some dynamic changes cannot be applied, so check the preview and the results.