.NET

Reply
Active Member
lapiseast
Posts: 8
Registered: ‎09-21-2006
Message 1 of 3 (106 Views)

How to monitor the vertex modify of a polyline

106 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?
*Matt
Message 2 of 3 (106 Views)

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?
*Matt
Message 3 of 3 (106 Views)

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?
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

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