AutoCAD Architecture Customization
Welcome to Autodesk’s AutoCAD Architecture Customization Forums. Share your knowledge, ask questions, and explore popular AutoCAD Architecture Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting ObjectID for a mouseclick event?

2 REPLIES 2
Reply
Message 1 of 3
PengYen6809
392 Views, 2 Replies

Getting ObjectID for a mouseclick event?

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.

2 REPLIES 2
Message 2 of 3
Jeffrey_H
in reply to: PengYen6809

The easist way is probably using Editor.GetEntity()

You can also find your answers @ TheSwamp
Message 3 of 3
PengYen6809
in reply to: Jeffrey_H

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

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

Post to forums  

Autodesk Design & Make Report

”Boost