<?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 do I disable the entire feature set parameter via tool validation? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297785#M23033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got an update from Esri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;It turns out that this is a previously documented issue. Does not look like there is any urgency on resolving this...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;A href="http://support.esri.com/en/bugs/nimbus/TklNMDg4MzMz" title="http://support.esri.com/en/bugs/nimbus/TklNMDg4MzMz"&gt;NIM088333 - Script tool validation does not allow a feature se..&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2015 18:23:35 GMT</pubDate>
    <dc:creator>RoySP</dc:creator>
    <dc:date>2015-10-29T18:23:35Z</dc:date>
    <item>
      <title>How do I disable the entire feature set parameter via tool validation?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297778#M23026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using tool validation to enable/disable parameters based on a boolean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the parameters I want to disable is a feature set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the input parameter disables but the actual interactive portion that allows you to draw a feature on the map is not disabled. How do I get that to disable as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/132376_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 23:18:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297778#M23026</guid>
      <dc:creator>RoySP</dc:creator>
      <dc:date>2015-10-19T23:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I disable the entire feature set parameter via tool validation?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297779#M23027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do this depend upon a prior parameter?&amp;nbsp; &lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/creating-tools/understanding-validation-in-script-tools.htm" title="http://desktop.arcgis.com/en/desktop/latest/analyze/creating-tools/understanding-validation-in-script-tools.htm"&gt;Understanding validation in script tools—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 23:43:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297779#M23027</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-10-19T23:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I disable the entire feature set parameter via tool validation?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297780#M23028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. A boolean parameter triggers the disabling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the screenshot, when I check the "Buffer by selecting an existing feature" check box, I want the entire "Draw Input Selection Polygon" portion to be disabled. Right now, it does not disable the part which allows you to draw a polygon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is almost like there are two parameters in the first parameter but only one of them disables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this makes sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 22:21:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297780#M23028</guid>
      <dc:creator>RoySP</dc:creator>
      <dc:date>2015-10-20T22:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I disable the entire feature set parameter via tool validation?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297781#M23029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the operative portion of the validation section in the link is...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The part that you can do by adding code.&lt;/LI&gt;&lt;LI&gt;The part that ArcGIS does automatically for you. This part of validation is referred to as &lt;SPAN style="font-weight: bold;"&gt;internal validation&lt;/SPAN&gt; (or &lt;SPAN style="font-weight: bold;"&gt;basic validation&lt;/SPAN&gt;), since it is the basic validation done internally by geoprocessing in ArcGIS.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Which I think means that you will have to right the code to disable the listbox if the checkbox is toggled on.&lt;/P&gt;&lt;P&gt;Then you get into this section... &lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/creating-tools/customizing-script-tool-behavior.htm" title="http://desktop.arcgis.com/en/desktop/latest/analyze/creating-tools/customizing-script-tool-behavior.htm"&gt;Customizing script tool behavior—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 22:52:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297781#M23029</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-10-20T22:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I disable the entire feature set parameter via tool validation?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297782#M23030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes that is exactly what I did.&amp;nbsp; &lt;/P&gt;&lt;P&gt;My code is below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/132542_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the issue is it only disables the text box where you see the parameter "COIBuffer::Draw_Input_Selection_Polygon" that is grayed out, but does not disable the portion which allows you to draw the polygon as shown below.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image" src="https://community.esri.com/legacyfs/online/132544_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;And I dont see how to disable that because the text box and the portion which allows you to draw the polygon seem to be part of one parameter of type Feature Set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/132543_pastedImage_301.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 23:48:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297782#M23030</guid>
      <dc:creator>RoySP</dc:creator>
      <dc:date>2015-10-20T23:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I disable the entire feature set parameter via tool validation?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297783#M23031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I am not clear on... It is almost like you can use an existing selection or all... but then you enable to select another feature(s) using an input selection polygon (or not).&amp;nbsp; Why have you opted for that route instead of using an existing feature selection or working with all of them.&amp;nbsp; It is kind of like... if they forget to make a selection, then you allow them to make one then... That is fine and maybe a programming preference.&amp;nbsp; My preference would be ... use an existing selection or use them all...if they want to make a selection, then bail the tool, go back and make the selectionand and run the tool again.&amp;nbsp; It simplifies the programming and makes people read the help file and understand what they are doing.&amp;nbsp; I can't see anything other than the order of the parameters you have being out of a different order than I would have put them, but I don't know if that affects the updating (but I doubt it, unless there is a 'listening' parameter that there is in some gui programming options)&amp;nbsp; Good luck...Others should weigh in&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 01:23:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297783#M23031</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-10-21T01:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I disable the entire feature set parameter via tool validation?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297784#M23032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree I would just skip this parameter and let the user do a selection themselves. This allows them to do the selection using a variety of techniques, and all modify the selection before running the tool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 02:20:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297784#M23032</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2015-10-21T02:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I disable the entire feature set parameter via tool validation?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297785#M23033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got an update from Esri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;It turns out that this is a previously documented issue. Does not look like there is any urgency on resolving this...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;A href="http://support.esri.com/en/bugs/nimbus/TklNMDg4MzMz" title="http://support.esri.com/en/bugs/nimbus/TklNMDg4MzMz"&gt;NIM088333 - Script tool validation does not allow a feature se..&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 18:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-disable-the-entire-feature-set-parameter/m-p/297785#M23033</guid>
      <dc:creator>RoySP</dc:creator>
      <dc:date>2015-10-29T18:23:35Z</dc:date>
    </item>
  </channel>
</rss>

