.NET

.NET

Reply
Active Member
8 Posts
0 Kudos
Registered: ‎09-21-2006
Post 1 of 3

How to monitor the vertex modify of a polyline

110 Views, 2 Replies
12-09-2006 10:26 PM
when modifying a vertex of a polyline using mouse drag, i need to monitor this event and then modify the other properties of the line.
i could react the change through the DatabaseReactor::smileysurprised:bjModified event , but in this method it is forbidden to modify the line again ( to avoid the infinite circulation ).
Any other place could i react the vertex modify?

Re: How to monitor the vertex modify of a polyline

12-17-2006 10:57 PM in reply to: lapiseast
Add the id of the pline to an (global) IdArray (there's an ObjectIdArray im
ARX, so i guess there's something similar in .NET.

Check that idArray in objClosed and do your stuff.

/Matt


wrote in message news:5420797@discussion.autodesk.com...
when modifying a vertex of a polyline using mouse drag, i need to monitor
this event and then modify the other properties of the line.
i could react the change through the DatabaseReactor::smileysurprised:bjModified event ,
but in this method it is forbidden to modify the line again ( to avoid the
infinite circulation ).
Any other place could i react the vertex modify?

Re: How to monitor the vertex modify of a polyline

12-18-2006 01:02 AM in reply to: lapiseast
I correct myself
commandEnded is the place to change the pline

/Matt


"Matt" wrote in message
news:5428508@discussion.autodesk.com...
Add the id of the pline to an (global) IdArray (there's an ObjectIdArray im
ARX, so i guess there's something similar in .NET.

Check that idArray in objClosed and do your stuff.

/Matt


wrote in message news:5420797@discussion.autodesk.com...
when modifying a vertex of a polyline using mouse drag, i need to monitor
this event and then modify the other properties of the line.
i could react the change through the DatabaseReactor::smileysurprised:bjModified event ,
but in this method it is forbidden to modify the line again ( to avoid the
infinite circulation ).
Any other place could i react the vertex modify?
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!