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.

Getting a user-selected entity

Getting a user-selected entity - AutoCAD Tutorial

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

Start my 1-month free trial

Getting a user-selected entity

- [Instructor] As we continue looking at how to interact with the user, so far what we've done is get information from the user by picks or points or information entered at the command line but a lot of times we want the user to tell us which object that we're going to interact with, what object they want edited or information about and so, that's what we're going to do in this exercise. We're going to look at how we can select an entity and then of course we'll feed information back to the user based upon the entity that was selected. So, let's go ahead and open up our exercise project. This is going to be 06-03 and of course the 06-03 solution is what we'll open up and we'll go into the 06-03 project and the initialization class and we already have a command that's been started for us, the LISelectEntity. Now, there's a lot already written here. Let's kind of just briefly break down what we have. We have the editor object from the current drawing assigned to the ED variable but we…

Contents