Message 1 of 4
Exception during GetPoint function
Not applicable
10-09-2009
11:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've aded this event
ed.PointFilter += new Autodesk.AutoCAD.EditorInput.PointFilterEventHandler(psRoomConnector_PointFilter);
and than call this function
Autodesk.AutoCAD.EditorInput.PromptPointResult ppr = ed.GetPoint(ppo);
psRoomConnector_PointFilter function generates Exception. If exception is generated than GetPoint finction doesn't finish correctly and autocad get in some undetermined state.
How to cancel getPoint function if exception was generated? or how to solve this situation?
ed.PointFilter += new Autodesk.AutoCAD.EditorInput.PointFilterEventHandler(psRoomConnector_PointFilter);
and than call this function
Autodesk.AutoCAD.EditorInput.PromptPointResult ppr = ed.GetPoint(ppo);
psRoomConnector_PointFilter function generates Exception. If exception is generated than GetPoint finction doesn't finish correctly and autocad get in some undetermined state.
How to cancel getPoint function if exception was generated? or how to solve this situation?