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.

Understanding ObjectIds

Understanding ObjectIds - AutoCAD Tutorial

From the course: AutoCAD: Building Add-ins with C#

Start my 1-month free trial

Understanding ObjectIds

- [Instructor] Being able to access the database object really beings our quest to start working with objects within the drawing. And we're not just talking about line objects or circle objects, we're talking also about non-graphical objects, layers, text styles. So it all goes back to being able to access the database and understanding how to get the objects from within the database. That goes to better understanding what object IDs are. So that's what this video's gonna be focused on. Let's first go ahead and open up our exercise files for this video. So I go to the desktop, Exercise Files, chapter five and choose the 05 02 solution. Now there's already a command in our initialization class. So if I open up our initialization class, you'll notice there's a command written for us It's LIDBObjectID is the name of the command. Now we have to go back and answer the question what really is an object ID? Well when you initialize a document or open up or create a new drawing, every single…

Contents