.NET

Reply
Valued Contributor
scluna
Posts: 61
Registered: ‎02-20-2007
Message 1 of 3 (197 Views)
Accepted Solution

How to add Event Handler

197 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
cdinten
Posts: 61
Registered: ‎11-19-2010
Message 2 of 3 (170 Views)

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
scluna
Posts: 61
Registered: ‎02-20-2007
Message 3 of 3 (155 Views)

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
Need installation help?

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