.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 2
priyamabsit
371 Views, 1 Reply

Selection

hi

My problam is

HOw to select object in AutoCad using ObjectID

vb.net

please help me

1 REPLY 1
Message 2 of 2
norman.yuan
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.

 

Norman Yuan

Drive CAD With Code

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost