CAD-Excel Converter is a powerful AutoCAD plugin that enables bidirectional conversion between CAD tables and Excel files. The plugin uses the NPOI library for Excel file processing, supports AutoCAD software, and provides users with a convenient data conversion solution.
- Excel → CAD: Convert Excel spreadsheets to CAD tables
- CAD → Excel: Export CAD tables to Excel files
- Format Preservation: Retains the original format and structure of data during conversion
- Excel: .xlsx, .xls files
- CAD: Native AutoCAD table objects,Line + Text composed table
- Graphical Interface: Friendly Windows Forms UI
- Progress Display: Real-time progress feedback during conversion
- Adaptive Toolbar: Automatically creates CUI or Ribbon toolbar based on AutoCAD workspace
- Quick Access: Launch conversion functions quickly via toolbar buttons
- Operating System: Windows 7/8/10/11
- CAD Software: AutoCAD 2010 or later
- .NET Framework: 4.7.2 or later
NPOI >= 2.5.6 # Excel file processing
Autodesk AutoCAD .NET API # CAD integration
System.Windows.Forms # User interface
- Rebuild the Setup project
- Locate the generated
CADTool.msiinstaller - Double-click to run the installer
- Follow the installation wizard to complete setup
- Restart AutoCAD to load the plugin
- Copy the compiled
CADConverter.dllto the AutoCAD plugins directory - Use AutoCAD's
NETLOADcommand to load the plugin - Or add the plugin path to AutoCAD's startup configuration
- In AutoCAD, click the "ExcelToCAD" toolbar button
- In the dialog, select the Excel file to convert
- Set conversion parameters (such as rows/columns, text size/color, etc.)
- Click the "Convert" button to start conversion
- In AutoCAD, click the "CADToExcel" toolbar button
- Select the CAD table object or text area to convert
- Specify the save location for the Excel file
- Click the corresponding conversion button to start
CAD-Excel Converter/
├── CADConverter/ # Main source code
│ ├── Commands.cs # Command definitions and toolbar creation
│ ├── ExcelToCAD.cs # Core logic for Excel to CAD
│ ├── CADToExcel.cs # Core logic for CAD to Excel
│ ├── Program.cs # Plugin entry point
│ ├── FormExcelToCAD.cs # Excel to CAD UI
│ ├── FormCADToExcel.cs # CAD to Excel UI
│ ├── CADTool.cs # CAD operation utilities
│ ├── CuiTool.cs # CUI toolbar management
│ ├── RibbonTool.cs # Ribbon toolbar management
│ ├── Log.cs # Logging
│ ├── Model.cs # Data models
│ └── Resources/ # Resources (icons, etc.)
├── SetupLibrary/ # Installer library
├── Setup/ # Installer generation
├── Dlls/ # AutoCAD API dependencies
├── imgs/ # Example images
└── packages/ # NuGet dependencies
MIT License

