.NET

Reply
Valued Contributor
61 Posts
0 Kudos
Registered: ‎02-20-2007
Post 1 of 3
Accepted Solution

How to add Event Handler

205 Views, 2 Replies
04-07-2014 10:02 AM

Hi,

 

Anyone knows how to add event handler to objects everytime the mouse select an autocad entity like polyline when this object is resize, drag or move.

Or what event is triggered when this is done.

 

I am not sure if I'm suppose to use overrule, but if I use overrule, how do I implement it.

 

here is my snippet:

 

Dim psr AsPromptSelectionResult= ed.SelectImplied

IfNot psr.Status = PromptStatus.OK ThenExit SubEndIfForEach objId AsObjectIdInpsr.Value.GetObjectIds()

     ValidateObject(objId)

Next

 

 

Thnaks and regards

 

 

SCLuna
Thanks but I already resolved it. I use the Modified event on the object.
Valued Contributor
61 Posts
0 Kudos
Registered: ‎11-19-2010
Post 2 of 3

Re: How to add Event Handler

04-07-2014 05:34 PM in reply to: scluna
how about using : Application.DocumentManager.DocumentLockModeChanged Event? hope this may help you
Valued Contributor
61 Posts
0 Kudos
Registered: ‎02-20-2007
Post 3 of 3

Re: How to add Event Handler

04-09-2014 07:42 AM in reply to: cdinten
Thanks but I already resolved it. I use the Modified event on the object.
SCLuna
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post