From the course: AutoCAD Add-ins Using VB.NET
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Create a command routine - AutoCAD Tutorial
From the course: AutoCAD Add-ins Using VB.NET
Create a command routine
- [Instructor] In our last exercise we created a class from scratch, and we took advantage of what we learned from the classes that were created by the AutoCAD Wizard when we created our plug-in, but we created three new routines within our class, as well. Not only did we create that class and did imports, but three new routines. Two of those routines took advantage of an implementation. We implemented another object within that class, and those routines are required, the initialize and the terminate. We also created a routine that will be called from the command line, and will act like a command within AutoCAD, it's our first AutoCAD command, part of that plug-in. But we didn't add any code. So let's create our routines, let's build our routines out a little bit. And so throughout this process as we do so, we're going to learn a little bit about variables, within Visual Basic, as well as how we interact with the AutoCAD interface, starting with the command line. So we're going to go…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.