<?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>idea Boolean parameters should always support keywords in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/boolean-parameters-should-always-support-keywords/idi-p/946853</link>
    <description>&lt;P&gt;I was reviewing a new environment setting in 10.5 and found that it only supports True or False. &amp;nbsp;The lack of a keyword is (to me) a serious breach of consistency. &lt;SPAN&gt;I took a quick look at the help and see that some boolean environment settings&amp;nbsp;(qualifiedFieldNames) support keywords, some don't (terrainMemoryUsage). &lt;/SPAN&gt;&amp;nbsp; The big plus of this is when you are scripting you don't have to guess what True means for parameters where it's not obvious.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also learned that tool parameters are case-insensitive (cf "ClippingGeometry" for the clip tool) and "true" and "false" can be used for boolean parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please make life easier for script developers by being consistent. &amp;nbsp;Go ahead and support True and False, but environment variables and parameters should all support keywords.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 23:39:38 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2024-07-11T23:39:38Z</dc:date>
    <item>
      <title>Boolean parameters should always support keywords</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/boolean-parameters-should-always-support-keywords/idi-p/946853</link>
      <description>&lt;P&gt;I was reviewing a new environment setting in 10.5 and found that it only supports True or False. &amp;nbsp;The lack of a keyword is (to me) a serious breach of consistency. &lt;SPAN&gt;I took a quick look at the help and see that some boolean environment settings&amp;nbsp;(qualifiedFieldNames) support keywords, some don't (terrainMemoryUsage). &lt;/SPAN&gt;&amp;nbsp; The big plus of this is when you are scripting you don't have to guess what True means for parameters where it's not obvious.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also learned that tool parameters are case-insensitive (cf "ClippingGeometry" for the clip tool) and "true" and "false" can be used for boolean parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please make life easier for script developers by being consistent. &amp;nbsp;Go ahead and support True and False, but environment variables and parameters should all support keywords.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 23:39:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/boolean-parameters-should-always-support-keywords/idi-p/946853</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2024-07-11T23:39:38Z</dc:date>
    </item>
  </channel>
</rss>

