<?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: arcpy tool on 10.2 parameter error in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-tool-on-10-2-parameter-error/m-p/431789#M33962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As the error message indicates, &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;arcpy.parameter.filters&lt;/SPAN&gt; doesn't exist in ArcGIS 10.2.x, compare the&amp;nbsp;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Parameter/018z00000063000000/"&gt;Parameter (ArcPy) 10.2&lt;/A&gt; versus &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-classes/parameter.htm"&gt;Parameter 10.3&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2016 00:24:54 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2016-12-13T00:24:54Z</dc:date>
    <item>
      <title>arcpy tool on 10.2 parameter error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-tool-on-10-2-parameter-error/m-p/431788#M33961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created an arcpy tool in 10.3 ArcGis version it works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When trying to open the tool a 10.2 &amp;nbsp;version&amp;nbsp;it throws an error like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AttributeError: 'Parameter' object has no attribute 'filters'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is in the last line of the forwarding&amp;nbsp;code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;param1 = arcpy.Parameter(&lt;BR /&gt; displayName='Selected vectors',&lt;BR /&gt; name='vetorlist',&lt;BR /&gt; datatype='GPValueTable',&lt;BR /&gt; parameterType='Required',&lt;BR /&gt; direction='Input')&lt;BR /&gt; &lt;BR /&gt; param1.columns = [['GPString','Vector']]&lt;BR /&gt; param1.filters[0].type = 'ValueList'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this kind of parameter it's only available from 10.3 on....?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance..!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 14:33:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-tool-on-10-2-parameter-error/m-p/431788#M33961</guid>
      <dc:creator>JonGarrido</dc:creator>
      <dc:date>2016-12-09T14:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy tool on 10.2 parameter error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-tool-on-10-2-parameter-error/m-p/431789#M33962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As the error message indicates, &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;arcpy.parameter.filters&lt;/SPAN&gt; doesn't exist in ArcGIS 10.2.x, compare the&amp;nbsp;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Parameter/018z00000063000000/"&gt;Parameter (ArcPy) 10.2&lt;/A&gt; versus &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-classes/parameter.htm"&gt;Parameter 10.3&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 00:24:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-tool-on-10-2-parameter-error/m-p/431789#M33962</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-12-13T00:24:54Z</dc:date>
    </item>
  </channel>
</rss>

