<?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: How to Disable Input Field with Python Toolbox? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-disable-input-field-with-python-toolbox/m-p/220923#M17080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Of course, as soon as I post my question I find the answers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;parameters[1].enabled = 0&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jun 2012 14:02:09 GMT</pubDate>
    <dc:creator>AlanToms</dc:creator>
    <dc:date>2012-06-29T14:02:09Z</dc:date>
    <item>
      <title>How to Disable Input Field with Python Toolbox?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-disable-input-field-with-python-toolbox/m-p/220922#M17079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I???m creating a tool with the new to 10.1 &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.1/index.html#//001500000022000000" rel="nofollow" target="_blank"&gt;Python toolbox&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; I???ve reviewed the help but do not see how to disable an input parameter field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Input parameter[0] is a feature class.&amp;nbsp; I have code in the updateParamaters definition to identify what shapeType it is.&amp;nbsp; That portion works&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I would like to do is to disable the input parameter[1] field based on parameter[0].&amp;nbsp; Basically if it is a point feature class, I want the next input field to go gray and not allow an input.&amp;nbsp; Anyone have suggestions or a link?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 13:50:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-disable-input-field-with-python-toolbox/m-p/220922#M17079</guid>
      <dc:creator>AlanToms</dc:creator>
      <dc:date>2012-06-29T13:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Disable Input Field with Python Toolbox?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-disable-input-field-with-python-toolbox/m-p/220923#M17080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Of course, as soon as I post my question I find the answers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;parameters[1].enabled = 0&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 14:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-disable-input-field-with-python-toolbox/m-p/220923#M17080</guid>
      <dc:creator>AlanToms</dc:creator>
      <dc:date>2012-06-29T14:02:09Z</dc:date>
    </item>
  </channel>
</rss>

