.NET

Reply
New Member
priyamabsit
Posts: 1
Registered: ‎07-20-2010
Message 1 of 2 (266 Views)

Selection

266 Views, 1 Replies
07-20-2010 05:09 AM

hi

My problam is

HOw to select object in AutoCad using ObjectID

vb.net

please help me

*Expert Elite*
norman.yuan
Posts: 984
Registered: ‎04-27-2009
Message 2 of 2 (257 Views)

Re: Selection

07-20-2010 07:44 AM in reply to: priyamabsit

What do you mean "Select object" exactly?

 

Since you have already got the entity's ObjectId, in most programming cases, you already has the entity "selected". You can go ahead to start a trnsaction and retrieve the actual entyt with that ObjectId and do what you want.

 

If you mean to visibly show the entity represented by that ObjectId, you highlight it (Entity.Highlight()). You may also want to somehow zoom to that entity if the entity may be far offset from curretn view.

 

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.