<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Exception during GetPoint function in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/exception-during-getpoint-function/m-p/2570387#M68819</link>
    <description>{quote}&lt;BR /&gt;
&lt;BR /&gt;
psRoomConnector_PointFilter function generates Exception.&lt;BR /&gt;
&lt;BR /&gt;
{quote}&lt;BR /&gt;
&lt;BR /&gt;
Are you asking us to guess why it is throwing an error?&lt;BR /&gt;
&lt;BR /&gt;
I don't think anyone can help you because we can't guess&lt;BR /&gt;
what your code is doing wrong.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;VIAVITAE&gt; wrote in message news:6269306@discussion.autodesk.com...&lt;BR /&gt;
I've aded this event&lt;BR /&gt;
&lt;BR /&gt;
ed.PointFilter += new &lt;BR /&gt;
Autodesk.AutoCAD.EditorInput.PointFilterEventHandler(psRoomConnector_PointFilter);&lt;BR /&gt;
&lt;BR /&gt;
and than call this function&lt;BR /&gt;
&lt;BR /&gt;
Autodesk.AutoCAD.EditorInput.PromptPointResult ppr = ed.GetPoint(ppo);&lt;BR /&gt;
&lt;BR /&gt;
psRoomConnector_PointFilter function generates Exception. If exception is &lt;BR /&gt;
generated than GetPoint finction doesn't finish correctly and autocad get in &lt;BR /&gt;
some undetermined state.&lt;BR /&gt;
&lt;BR /&gt;
How to cancel getPoint function if exception was generated? or how to solve &lt;BR /&gt;
this situation?&lt;/VIAVITAE&gt;</description>
    <pubDate>Fri, 09 Oct 2009 19:14:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-10-09T19:14:24Z</dc:date>
    <item>
      <title>Exception during GetPoint function</title>
      <link>https://forums.autodesk.com/t5/net-forum/exception-during-getpoint-function/m-p/2570386#M68818</link>
      <description>I've aded this event&lt;BR /&gt;
&lt;BR /&gt;
ed.PointFilter += new Autodesk.AutoCAD.EditorInput.PointFilterEventHandler(psRoomConnector_PointFilter);&lt;BR /&gt;
&lt;BR /&gt;
and than call this function&lt;BR /&gt;
&lt;BR /&gt;
Autodesk.AutoCAD.EditorInput.PromptPointResult ppr = ed.GetPoint(ppo);&lt;BR /&gt;
&lt;BR /&gt;
psRoomConnector_PointFilter function generates Exception. If exception is generated than GetPoint finction doesn't finish correctly and autocad get in some undetermined state.&lt;BR /&gt;
&lt;BR /&gt;
How to cancel getPoint function if exception was generated? or how to solve this situation?</description>
      <pubDate>Fri, 09 Oct 2009 18:49:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/exception-during-getpoint-function/m-p/2570386#M68818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-09T18:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Exception during GetPoint function</title>
      <link>https://forums.autodesk.com/t5/net-forum/exception-during-getpoint-function/m-p/2570387#M68819</link>
      <description>{quote}&lt;BR /&gt;
&lt;BR /&gt;
psRoomConnector_PointFilter function generates Exception.&lt;BR /&gt;
&lt;BR /&gt;
{quote}&lt;BR /&gt;
&lt;BR /&gt;
Are you asking us to guess why it is throwing an error?&lt;BR /&gt;
&lt;BR /&gt;
I don't think anyone can help you because we can't guess&lt;BR /&gt;
what your code is doing wrong.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;VIAVITAE&gt; wrote in message news:6269306@discussion.autodesk.com...&lt;BR /&gt;
I've aded this event&lt;BR /&gt;
&lt;BR /&gt;
ed.PointFilter += new &lt;BR /&gt;
Autodesk.AutoCAD.EditorInput.PointFilterEventHandler(psRoomConnector_PointFilter);&lt;BR /&gt;
&lt;BR /&gt;
and than call this function&lt;BR /&gt;
&lt;BR /&gt;
Autodesk.AutoCAD.EditorInput.PromptPointResult ppr = ed.GetPoint(ppo);&lt;BR /&gt;
&lt;BR /&gt;
psRoomConnector_PointFilter function generates Exception. If exception is &lt;BR /&gt;
generated than GetPoint finction doesn't finish correctly and autocad get in &lt;BR /&gt;
some undetermined state.&lt;BR /&gt;
&lt;BR /&gt;
How to cancel getPoint function if exception was generated? or how to solve &lt;BR /&gt;
this situation?&lt;/VIAVITAE&gt;</description>
      <pubDate>Fri, 09 Oct 2009 19:14:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/exception-during-getpoint-function/m-p/2570387#M68819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-09T19:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exception during GetPoint function</title>
      <link>https://forums.autodesk.com/t5/net-forum/exception-during-getpoint-function/m-p/2570388#M68820</link>
      <description>No, I'm asking how to cancel getPoint function.&lt;BR /&gt;
In other words if I start GetPoint function and than press Esc in Autocad, this function will be terminated. How to do it in C#?

Edited by: ViaVitae on Oct 10, 2009 10:05 AM</description>
      <pubDate>Fri, 09 Oct 2009 19:25:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/exception-during-getpoint-function/m-p/2570388#M68820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-09T19:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exception during GetPoint function</title>
      <link>https://forums.autodesk.com/t5/net-forum/exception-during-getpoint-function/m-p/2570389#M68821</link>
      <description>There's no way to cancel a GetPoint() other than by sending ^C/ESCape to the&lt;BR /&gt;
command line.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;VIAVITAE&gt; wrote in message news:6269312@discussion.autodesk.com...&lt;BR /&gt;
No, I'm asking how to cancel getPoint function.&lt;BR /&gt;
In other words if I start GetPoint function and than press Esc in Autocad,&lt;BR /&gt;
this function will be terminated. How to do it in C#?&lt;BR /&gt;
&lt;BR /&gt;
Edited by: ViaVitae on Oct 10, 2009 10:05 AM&lt;/VIAVITAE&gt;</description>
      <pubDate>Sat, 10 Oct 2009 18:22:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/exception-during-getpoint-function/m-p/2570389#M68821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-10T18:22:16Z</dc:date>
    </item>
  </channel>
</rss>

