CSV to AutoCAD Table
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | XTBL |
|---|---|
| Category | Data Export (Excel, CSV) |
| Author | BGol Community |
| Source | thevijayparmar/bgol-cad-lisps |
| License | MIT |
| Requirements | AutoCAD 2005 or later (full version, not LT), BricsCAD; no Express Tools needed. |
| Prompt language | English |
| Files | CSVTABLE-bgol.lsp (5 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
XTBL inserts a CSV file saved from Excel as a native AutoCAD TABLE object at a picked point, asking for the column width and the row height.
XTBL is an AutoLISP routine that turns data saved as CSV from Excel or another spreadsheet into AutoCAD's own TABLE object. It suits drafters who want quantity lists, schedules or coordinate tables inside the drawing as an editable table instead of a pasted OLE object.
Overview
After the file is chosen, every non-empty row is split on commas; the number of fields in the first row sets the number of columns. The command asks for an insertion point, a column width (default 25) and a row height (default 8), then adds the table to the current space (model or paper) and fills the cells. The table goes on layer BGOL-XTBL (created in blue if missing).
How to use it
- Load CSVTABLE-bgol.lsp with APPLOAD.
- Type XTBL at the command line.
- Choose the CSV file (the first row should be the header).
- Pick the insertion point for the table.
- Enter the column width and row height, or press Enter for the defaults.
Notes and limitations
- Splitting is a plain comma split: quoted fields that contain commas are broken apart, and semicolon-separated files are not read correctly.
- The table uses the drawing's default table style. If that style merges the first row as a title row, the CSV header may appear squeezed into one cell; unmerge the cells or change the style if needed.
- All columns get the same width; fields beyond the column count of the first row are dropped.
- The CSV file is only read. Non-ASCII characters may display incorrectly depending on the file's encoding.
- License: the repository's LICENSE file is MIT; the file header also states the code is free to use, modify and share.
- The repository was published in 2026 and the amount of testing is not stated; try it on a copy of the drawing first.
Source and license
This tool is not made by eplisp. The file is published unchanged under its author's license; copyright stays with the author.
References
- Source repository: thevijayparmar/bgol-cad-lisps – https://github.com/thevijayparmar/bgol-cad-lisps/tree/3acbe32f71b489f4c81dcd9372f989591a9be858/Utility%20Programs/Excel%20to%20CAD
- Author: BGol Community – https://bgol.in/
- License: MIT – https://github.com/thevijayparmar/bgol-cad-lisps/blob/3acbe32f71b489f4c81dcd9372f989591a9be858/LICENSE
Found a mistake, or are you the author of this tool? Request a correction or removal