From the course: AutoCAD: Building Add-ins with C#
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Working with the DocumentCollection - AutoCAD Tutorial
From the course: AutoCAD: Building Add-ins with C#
Working with the DocumentCollection
- [Instructor] One of the objects within the application object, that we can find in the application service's namespace, is the document collection. The document collection is how we work with the drawings. So let's see what we can find within the document collection. Let's open up our exercise for this video. And to open up the project solution, go to our desktop, exercise files, chapter four, and we're going to the 04,02 solution. When we do so, we go to our initialization class if it didn't open up for us, and we notice that I now only have two regions, the commands region, and only one command, it started for us that we're going to complete in this exercise. And then within the initialize region, I have the extension application this routine, and I've taken it a little bit farther from our last video, so we'll only, just write to the command line, we're not changing the title or anything like that. And we'll have a little bit of a cleaner look, of what we write to the command…
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.