Has anyone done any code for sending data in Excel to AutoCAD? I found example of AutoCAD to Excel but I am looking for a VB.net solution to go from Excel to AutoCAD.
Any example would be helpful on how it should be initially set-up.
Please let me know your thoughts.
Solved! Go to Solution.
Solved by dgorsman. Go to Solution.
@conveyor1 wrote:Has anyone done any code for sending data in Excel to AutoCAD? I found example of AutoCAD to Excel but I am looking for a VB.net solution to go from Excel to AutoCAD.
Any example would be helpful on how it should be initially set-up.
Please let me know your thoughts.
I have a fair few examples of this, but are you talking about showing all the gridlines etc, or just inserting blocks with information? I think you need to be a bit more specific. What are you trying to achieve?
For option 1, rather than write it yourself, there is an excellent program called XL2CAD, from Dotsoft. It does tend to draw too many lines for the grids, but for you to get up and running, it is very good.
My preference is to treat AutoCAD as the "driving" application and the Excel file as a data source. AutoCAD is customized to both create the Excel file based on the DWG contents, and to read the Excel file and modify the DWG contents appropriately. Otherwise you end up having to "drive" AutoCAD from an external application which gets more complicated than it needs to be.
Can't find what you're looking for? Ask the community or share your knowledge.