Getting ObjectID for a mouseclick event?

Getting ObjectID for a mouseclick event?

Anonymous
Not applicable
478 Views
2 Replies
Message 1 of 3

Getting ObjectID for a mouseclick event?

Anonymous
Not applicable

Hi,

 

I am developing a .NET applicaton that integrates with AutoCAD Architecture. In my .NET application, I provide my user with a list of drawing files (.dwg) that they can choose to open. Once my user has selected a file, my application will open the selected drawing in AutoCAD Architecture. In this drawing, the user can click on an object in the drawing. Can this mouse click event be captured and the object ID for the selected object be returned to my application? How to go about doing this? Please advise and provides me with examples or references. Thanks.

0 Likes
479 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

The easist way is probably using Editor.GetEntity()

0 Likes
Message 3 of 3

Anonymous
Not applicable

Where do I detect the mouse click event? In AutoCAD Architecture or in my .NET application?

0 Likes