This lisp is modified to calculate the quantity of steel bars as it placed on the plan of reinforcement in the form shown on the attached cad file named: steel.dwg lisp name and command: steel hope you joy it. And step by step together we improve it to fit what we want to do. As there are many sizes, it is easier to click the 'Block Table' in Properties, and Double-Click the section you want to use. Canadian Institute for Steel Construction (CISC) Dynamic Steel Block - W-Beam.
In this article, I will explain methods by which you can import and export a table from AutoCAD to Excel. Let’s first start with importing a table.
Importing the table in AutoCAD: In AutoCAD, you can import excel table as OLE object which is linked to its original source or as an independent AutoCAD table where it is not linked to its parent table. In this article, I will use made in MS- Excel to demonstrate how this process works. Importing as a data link: Open excel file downloaded from the link above and select table completely then right click and select copy from the contextual menu, you can also use CTRL+C to copy table. Now open AutoCAD and click on paste special from clipboard panel of the home tab as shown in the image below. Paste special window will pop up, in this window select Paste Link radio button and click on the Microsoft Excel Worksheet option and click OK.
Now specify a location in the drawing area to paste this table. The table will now appear in drawing area just like any other Excel table.This table will retain its formatting like line width and cell merges and it will also remain linked with its parent table from where it is copied. Now open MS-Excel table and make any change in it and save it then go to AutoCAD window and type REA to regenerate your drawing and you will see that table is updated in AutoCAD too with changed value. Importing as AutoCAD entity: You can also import table in AutoCAD as a standalone entity so that it remains completely isolated from excel table. Repeat the whole process of copying table from MS-Excel and select paste special again from clipboard panel of the home tab but this time select AutoCAD entities option from the Paste Special window and click OK. Now specify a location to paste your table in the drawing area.
The table will be inserted as an AutoCAD entity and it will retain its formatting too. In this case, you will observe that table has no relation to its parent MS-Excel table and any change made to that parent table will no longer be reflected in the AutoCAD table.
Exporting table from AutoCAD: You can export a table from AutoCAD in a format like CSV which can be read by the MS office application. Table exported from AutoCAD does not retain its formatting which means cell color, cell merging, and border styles are not retained in CSV format and after exporting you need to again add formatting to the table if required. To export a table select it completely then right click and select Export from the contextual menu, Export data window will pop up. Now name your table and provide a location where you want to save it and click save. A new table in CSV format will be saved at the specified location, this table can now be opened with MS-office and other CSV compatible applications.
Do you have questions related to this tip? Let us know in the comments below. I am a mechanical engineer and I have worked with Design, Manufacturing and Training industries but now SourceCAD is my full-time work and I use it to train students all over the world. I also train corporate clients and help them develop the skill set of their workforce.
I am Autodesk AutoCAD Certified Professional and an Autodesk expert elite member. I am a regular contributor of AUGI World magazine and apart from SourceCAD I also develop AutoCAD video courses for Pluralsight and other E-Learning businesses.