<?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: Input parameter as slider in Python Toolbox in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/input-parameter-as-slider-in-python-toolbox/m-p/1512228#M4932</link>
    <description>&lt;P&gt;nice - thanks for posting this, it appears this functionality was introduced in 3.1, which was released after the accepted answer, so that was correct at the time, but is not correct anymore.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2024 09:21:52 GMT</pubDate>
    <dc:creator>RossSmail</dc:creator>
    <dc:date>2024-07-30T09:21:52Z</dc:date>
    <item>
      <title>Input parameter as slider in Python Toolbox</title>
      <link>https://community.esri.com/t5/arcmap-questions/input-parameter-as-slider-in-python-toolbox/m-p/1243743#M4200</link>
      <description>&lt;P&gt;I wondered whether it is possible to create a Python Toolbox with a slider for GPDouble-type user input? I have found nothing so far.&lt;/P&gt;&lt;P&gt;Currently, the parameter in my Toolbox script is limited to the range between -1 and 1 by setting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;parameter.filter.type = "GPDouble"
parameter.filter.list = [-1, 1]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but the result is simply a user input field for numeric values. If user input is outside the given range, ArcMap shows an error message to indicate the issue. However, it would be better if there was just a slider that limits possible user input right away.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 10:59:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/input-parameter-as-slider-in-python-toolbox/m-p/1243743#M4200</guid>
      <dc:creator>Manu</dc:creator>
      <dc:date>2022-12-27T10:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Input parameter as slider in Python Toolbox</title>
      <link>https://community.esri.com/t5/arcmap-questions/input-parameter-as-slider-in-python-toolbox/m-p/1243748#M4201</link>
      <description>&lt;P&gt;There are no sliders for Pro tools, either python or custom.&amp;nbsp; You would have to put the check in your validation script or within the calling script by&amp;nbsp; clipping the range&lt;/P&gt;&lt;P&gt;if -1 &amp;lt; x or x &amp;gt; 1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 12:24:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/input-parameter-as-slider-in-python-toolbox/m-p/1243748#M4201</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-12-27T12:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Input parameter as slider in Python Toolbox</title>
      <link>https://community.esri.com/t5/arcmap-questions/input-parameter-as-slider-in-python-toolbox/m-p/1382354#M4784</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/parameter-controls.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/parameter-controls.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;param3.controlCLSID='{C8C46E43-3D27-4485-9B38-A49F3AC588D9}'&lt;BR /&gt;param3.value=60&lt;/P&gt;&lt;P&gt;# Set an acceptable range of 1 to 99&lt;BR /&gt;param3.filter.type = "Range"&lt;BR /&gt;param3.filter.list = [1, 99]&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 17:59:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/input-parameter-as-slider-in-python-toolbox/m-p/1382354#M4784</guid>
      <dc:creator>BobHenry1</dc:creator>
      <dc:date>2024-02-14T17:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Input parameter as slider in Python Toolbox</title>
      <link>https://community.esri.com/t5/arcmap-questions/input-parameter-as-slider-in-python-toolbox/m-p/1512228#M4932</link>
      <description>&lt;P&gt;nice - thanks for posting this, it appears this functionality was introduced in 3.1, which was released after the accepted answer, so that was correct at the time, but is not correct anymore.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 09:21:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/input-parameter-as-slider-in-python-toolbox/m-p/1512228#M4932</guid>
      <dc:creator>RossSmail</dc:creator>
      <dc:date>2024-07-30T09:21:52Z</dc:date>
    </item>
  </channel>
</rss>

