<?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: Drawing a rectangle and converting it into a feature in Model Builder in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60941#M4877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By selection, do you mean dragging the grid layer into the builder?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Nov 2019 18:59:47 GMT</pubDate>
    <dc:creator>Anastasia_Ejov</dc:creator>
    <dc:date>2019-11-29T18:59:47Z</dc:date>
    <item>
      <title>Drawing a rectangle and converting it into a feature in Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60939#M4875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I have a grid loaded, how do I draw a rectangle around an area and convert it into a feature and export it as a shapefile in the ArcMap Model Builder?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 06:32:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60939#M4875</guid>
      <dc:creator>Anastasia_Ejov</dc:creator>
      <dc:date>2019-11-29T06:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing a rectangle and converting it into a feature in Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60940#M4876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the selection is already made you can simply use&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy-features.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy-features.htm"&gt;Copy Features—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;selections are honored when features are copied&lt;/P&gt;&lt;P&gt;There is no specific tool for model builder to perform a manual selection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 12:29:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60940#M4876</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-11-29T12:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing a rectangle and converting it into a feature in Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60941#M4877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By selection, do you mean dragging the grid layer into the builder?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 18:59:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60941#M4877</guid>
      <dc:creator>Anastasia_Ejov</dc:creator>
      <dc:date>2019-11-29T18:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing a rectangle and converting it into a feature in Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60942#M4878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the 'draw a rectangle....' bit.&amp;nbsp; That would be considered a step prior to running the model&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 20:26:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60942#M4878</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-11-29T20:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing a rectangle and converting it into a feature in Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60943#M4879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok- I am still lost on how to convert the rectangle to a feature and export it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If I had drawn the rectangle around the area outside of the model- in the model I only convert?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Dec 2019 00:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60943#M4879</guid>
      <dc:creator>Anastasia_Ejov</dc:creator>
      <dc:date>2019-12-01T00:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing a rectangle and converting it into a feature in Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60944#M4880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps you had better elaborate on the full extent of your model and what other tools you intend to use, since certain tools allow you to draw features on the map to use them as input for processing.&lt;/P&gt;&lt;P&gt;If your intent is to simply produce a polygon/rectangle, you don't need a model to do that, simply create a featureclass and draw the geometry, then save your edits.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Dec 2019 04:28:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60944#M4880</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-12-01T04:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing a rectangle and converting it into a feature in Model Builder</title>
      <link>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60945#M4881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this in ArcTools by creating a custom tool and then add your custom tool to ModelBuilder. It is not clear if you want to avoid any Python programming, but that is the simplest way to do exactly as you asked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You create an empty template layer (for geometry type, fields and symbology). Then you create a new tool and set the dialog to input a featuredataset (it needs the template). When the tool opens it asks you to draw some graphics similiar to the graphic Draw tool. You can also set attributes if needed, there can be more than one feature. It is very flexible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the tool executes it passes the featuredataset as a parameter. This can be turned into a featureclass and exported as an output for use in the ModelBuilder chain.&lt;/P&gt;&lt;P&gt;Interacting with the map in a script was always much easier to do in Workstation/AML and later ArcView/Avenue.&lt;/P&gt;&lt;P&gt;If you are still interested in this approach I could post an example script.&lt;/P&gt;&lt;P&gt;Here is the help where I needed the user to sketch a proposed marine reserve:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN class=""&gt;Create MPA from Sketch or Features&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Zoom to the area&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Use the interactive sketch tool to draw polygons on the map&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;You can use the graphic tools to draw circles, ellipses, rectangles or freehand polygons&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;You can edit the graphic shapes, adjust vertices and in the graphic &lt;/SPAN&gt;&lt;SPAN class=""&gt;properties&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;adjust to an exact coordinate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;When you select &lt;/SPAN&gt;&lt;SPAN class=""&gt;[OK]&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;the parts will be assembled and saved to a new featureclass with the default name or the one you specified.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Dialog" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/476132_sketch1(1).png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2019 21:53:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/drawing-a-rectangle-and-converting-it-into-a/m-p/60945#M4881</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2019-12-12T21:53:41Z</dc:date>
    </item>
  </channel>
</rss>

