<?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: No EditorInput.PromptRectangleOptions ? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/no-editorinput-promptrectangleoptions/m-p/2070654#M77003</link>
    <description>Change this line:&lt;BR /&gt;
ppr = ed.GetPoint(ppo);&lt;BR /&gt;
on this one:&lt;BR /&gt;
ppr = ed.GetCorner(ppo);&lt;BR /&gt;
Hth&lt;BR /&gt;
&lt;BR /&gt;
~'J'~</description>
    <pubDate>Mon, 17 Sep 2007 21:22:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-09-17T21:22:56Z</dc:date>
    <item>
      <title>No EditorInput.PromptRectangleOptions ?</title>
      <link>https://forums.autodesk.com/t5/net-forum/no-editorinput-promptrectangleoptions/m-p/2070653#M77002</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I am working with the EditorInput.  Since there are no PromptRectangleOptions or PromptPolyline options, I tried to do my best with two points.  So here is my code:&lt;BR /&gt;
&lt;BR /&gt;
---------------------------------&lt;BR /&gt;
PromptPointResult ppr = ed.GetPoint("\nSpecify first corner of rectangle:");&lt;BR /&gt;
if (ppr.Status != PromptStatus.OK) return;&lt;BR /&gt;
Point3d startPt = ppr.Value;&lt;BR /&gt;
&lt;BR /&gt;
PromptPointOptions ppo = new PromptPointOptions("\nSpecify opposite corner: ");&lt;BR /&gt;
&lt;BR /&gt;
ppo.BasePoint = startPt;&lt;BR /&gt;
ppo.UseBasePoint = true;&lt;BR /&gt;
ppr = ed.GetPoint(ppo);&lt;BR /&gt;
if (ppr.Status != PromptStatus.OK) return;&lt;BR /&gt;
Point3d endPt = ppr.Value;&lt;BR /&gt;
---------------------------------&lt;BR /&gt;
&lt;BR /&gt;
It's "working" but I don't want a rubber band line to appear between the two points, I would like to see a rectangle between startPt to my mouse pointer  just like when someone draws a regular rectangle.  Do I have to use an event and draw it myself ?</description>
      <pubDate>Mon, 17 Sep 2007 20:10:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/no-editorinput-promptrectangleoptions/m-p/2070653#M77002</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-09-17T20:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: No EditorInput.PromptRectangleOptions ?</title>
      <link>https://forums.autodesk.com/t5/net-forum/no-editorinput-promptrectangleoptions/m-p/2070654#M77003</link>
      <description>Change this line:&lt;BR /&gt;
ppr = ed.GetPoint(ppo);&lt;BR /&gt;
on this one:&lt;BR /&gt;
ppr = ed.GetCorner(ppo);&lt;BR /&gt;
Hth&lt;BR /&gt;
&lt;BR /&gt;
~'J'~</description>
      <pubDate>Mon, 17 Sep 2007 21:22:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/no-editorinput-promptrectangleoptions/m-p/2070654#M77003</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-09-17T21:22:56Z</dc:date>
    </item>
  </channel>
</rss>

