From the course: AutoCAD Add-ins Using VB.NET

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Creating a new drawing

Creating a new drawing - AutoCAD Tutorial

From the course: AutoCAD Add-ins Using VB.NET

Start my 1-month free trial

Creating a new drawing

- [Instructor] So far, we've been working with a drawing that's already open. What if we want to create a new drawing? Well again, we're going to take advantage of the application service's name space inside the application object and work with the document collection. Now in this exercise, we're going to need you to know where your templates are located. So before we get too far in, you may want to pause and make sure you've identified where your templates are located on your local computer. Let's go ahead and open up our project that we're going to work in, and that's of course on our desktop within our exercises files, and we're going to go to chapter four, 04-04, and go inside the 04-04 solution. Inside here, we're going to go ahead and open up our initialization class, and we're going to create a new command. Now this new command, of course within the command method, and we're going to name it LI, new doc. Of course, step outside the attribute there and create a routine, command…

Contents