<?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 Select and copy features using add-in tool. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/select-and-copy-features-using-add-in-tool/m-p/442884#M34649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to add a tool to an add-in toobar to select features from an existing feature class and copy them across to another feature class.&amp;nbsp; I need two tools, one for a point and one for a rectangle.&amp;nbsp; Add-in tools only handle rectangles, so I'm trying to generate the point coordinate off the onMouseDown event and simply use the X and Y feedback I get.&amp;nbsp; The problem is that I can't seem to pass these coordinates to anything usefull to extract the features.&amp;nbsp; I've tried using Environment extents and then doing a simple CopyFeatures, but that's not working as it copies the entire fc and doesn't seem to honour the environment settings I set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I pass coordinates to the Select by Location tool somehow or is there another way of passing coordinates to something to extract by that extent?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jan 2013 00:29:24 GMT</pubDate>
    <dc:creator>DeanCarstens</dc:creator>
    <dc:date>2013-01-18T00:29:24Z</dc:date>
    <item>
      <title>Select and copy features using add-in tool.</title>
      <link>https://community.esri.com/t5/python-questions/select-and-copy-features-using-add-in-tool/m-p/442884#M34649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to add a tool to an add-in toobar to select features from an existing feature class and copy them across to another feature class.&amp;nbsp; I need two tools, one for a point and one for a rectangle.&amp;nbsp; Add-in tools only handle rectangles, so I'm trying to generate the point coordinate off the onMouseDown event and simply use the X and Y feedback I get.&amp;nbsp; The problem is that I can't seem to pass these coordinates to anything usefull to extract the features.&amp;nbsp; I've tried using Environment extents and then doing a simple CopyFeatures, but that's not working as it copies the entire fc and doesn't seem to honour the environment settings I set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I pass coordinates to the Select by Location tool somehow or is there another way of passing coordinates to something to extract by that extent?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 00:29:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/select-and-copy-features-using-add-in-tool/m-p/442884#M34649</guid>
      <dc:creator>DeanCarstens</dc:creator>
      <dc:date>2013-01-18T00:29:24Z</dc:date>
    </item>
  </channel>
</rss>

