<?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: Can a credit estimator be added to a script tool? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/can-a-credit-estimator-be-added-to-a-script-tool/m-p/1228057#M66007</link>
    <description>&lt;P&gt;I don't think there is anything built into arcpy, but you can probably make your own messages using the table of &lt;A href="https://doc.arcgis.com/en/arcgis-online/administer/credits.htm#ESRI_SECTION1_709121D2C7694DCAB9B8592F36F7A5BA" target="_blank" rel="noopener"&gt;credits cost&lt;/A&gt; and doing some math within the Tool Validator Class.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2022 19:52:00 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2022-11-02T19:52:00Z</dc:date>
    <item>
      <title>Can a credit estimator be added to a script tool?</title>
      <link>https://community.esri.com/t5/python-questions/can-a-credit-estimator-be-added-to-a-script-tool/m-p/1228053#M66006</link>
      <description>&lt;P&gt;I have written a couple of route analysis scripts and converted them to script tools - one of them is for US data and uses the BA network dataset we've downloaded, while the Canadian version uses the AGOL network dataset, and thus consumes credits.&amp;nbsp; I have seen that some Esri tools have built-in functionality to estimate how many credits a given analysis will consume prior to running it - does there exist Arcpy language that would allow this to be written into a script tool as well?&amp;nbsp; This would be a beneficial reminder before attempting to run a large analysis so that we don't burn through all of our credits.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 19:22:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-a-credit-estimator-be-added-to-a-script-tool/m-p/1228053#M66006</guid>
      <dc:creator>StephenRhone</dc:creator>
      <dc:date>2022-11-02T19:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can a credit estimator be added to a script tool?</title>
      <link>https://community.esri.com/t5/python-questions/can-a-credit-estimator-be-added-to-a-script-tool/m-p/1228057#M66007</link>
      <description>&lt;P&gt;I don't think there is anything built into arcpy, but you can probably make your own messages using the table of &lt;A href="https://doc.arcgis.com/en/arcgis-online/administer/credits.htm#ESRI_SECTION1_709121D2C7694DCAB9B8592F36F7A5BA" target="_blank" rel="noopener"&gt;credits cost&lt;/A&gt; and doing some math within the Tool Validator Class.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 19:52:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-a-credit-estimator-be-added-to-a-script-tool/m-p/1228057#M66007</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-11-02T19:52:00Z</dc:date>
    </item>
  </channel>
</rss>

