.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to monitor the vertex modify of a polyline

2 REPLIES 2
Reply
Message 1 of 3
lapiseast
371 Views, 2 Replies

How to monitor the vertex modify of a polyline

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::objModified 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?
2 REPLIES 2
Message 2 of 3
Anonymous
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::objModified 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?
Message 3 of 3
Anonymous
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::objModified 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?

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost