The data will eventually end in Excel and Access.
At this point, I want to use Excel as a real-time GUI to drive AutoCAD and Architectural Desktop parameters. Thus far, the data in AutoCAD is stored as Scheduling Data. It will much easier to place things in the right location in AutoCAD, where I also want to count how many of each type of asset we own. Then I want to export the subtotals back to Excel for further processing.
It seems I can do this as a DLL in AutoCAD, a VBA macro in Excel might not be good enough to do everything I want to do in AutoCAD, and a stand alone application should also work. However, I am not sure wht the pros and cons might be.
In AutoCAD, the most dificult portion appears to be how to control schedule data programatically, which is something that was first exposed in the API in 2008. I have seen code excerpts that show what references are necessary but haven't actually done it.
Main Topics
Browse All Topics





by: norrin_raddPosted on 2008-06-04 at 11:13:53ID: 21712517
if you just want to have an autocad table that is linked to your excel data you should look up "data links" in the autocad help files, herse a snip:
A table can be linked to data in a Microsoft Excel (XLS, .XLSX, or CSV) file. You can link to an entire spreadsheet, individual row, column, cell, or cell range in Excel.
NoteMicrosoft Excel must be installed to use Microsoft Excel data links. To link to the XLSX filetype, Microsoft Excel 2007 must be installed.
You can bring data from Microsoft Excel into a table in the following three ways:
As formulas with supported data formats attached.
As calculated data from formulas calculated in Excel (supported data formats not attached).
As calculated data from formulas calculated in Excel (with data formats attached).
A table that contains data links displays indicators around linked cells. If you hover your mouse cursor over the data link, information about the data link is displayed.
</snip>
that way you dont need vba. if you want to use the data in a attribute or something like that you will need to use vba or possibly "fields"
let us know exactly how you want to use the data in autocad