AutoCAD Drawing Automation : Part 1 - Create custom toolbar and button

Submitted by techrev on Mon, 09/25/2017 - 11:49


In this tutorial, we will see how to create your own command button and insert it to the custom toolbar (name it under your organization/institution). when you click on those buttons, it can perform certain pre-written actions like draw objects, add dimensions, change properties, change drawing scale, printing, export to other data formats like excel/access database. there will be more tutorials on each subject soon..

Now, let us begin with the basic toolbar/button creation



Extract data from Excel and use it in AutoCAD

You can extract the data from an excel file (without opening it) and use it inside an AutoCAD file for drawing objects;

This is just an example on How to use the data from Excel Cells inside the CAD drawing to Automate the Autocad drawing process.

autocad vba automation

Don't forget to add Microsoft Excel Object Libraries (Tools->References) [AutoCAD VBA Editor]

techrev Wed, 09/13/2017 - 11:54
AutoCAD VBA - user promt example
AutoCAD VBA User prompt example
techrev Sun, 04/23/2017 - 09:50


autocad vba create circle with user form

Here is a video on Autocad User form creation with VBA


         All related files will be uploaded soon, (available for download)

techrev Sat, 11/19/2016 - 18:45


Insert a text in an AutoCAD Drawing using VBA
Insert a text in an AutoCAD Drawing using VBA - AutoCAD VBA Automation - Macro tutorials
CAAadmin Mon, 08/15/2016 - 05:49
Animation using AutoCAD VBA
Animation using AutoCAD VBA Simple animation techniques using autocad and vba
CAAadmin Sat, 07/23/2016 - 06:57


AutoCAD VBA : Drawing Automation
AutoCAD VBA : Drawing Automation with Example Line Drawing program
CAAadmin Tue, 07/19/2016 - 10:52