<?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 would I set my current workspace as a user-definable parameter? in ArcGIS Mapping and Charting Questions</title>
    <link>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/how-would-i-set-my-current-workspace-as-a-user/m-p/335213#M1107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm with Darren on the confused bit... but I presume that this is related to&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/218315-if-one-of-the-tool-parameters-is-based-on-user-input-defined-using-the-getparameterastext-function-is-it-possible-to-use-f5-to-run-the-script-successfully"&gt;https://community.esri.com/thread/218315-if-one-of-the-tool-parameters-is-based-on-user-input-defined-using-the-getparameterastext-function-is-it-possible-to-use-f5-to-run-the-script-successfully&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And Mapping Charting is probably not the place to get many responses dealing with toolboxes and/or code&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/space/2145"&gt;Python&lt;/A&gt;‌ would be best&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2018 22:26:35 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-07-20T22:26:35Z</dc:date>
    <item>
      <title>How would I set my current workspace as a user-definable parameter?</title>
      <link>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/how-would-i-set-my-current-workspace-as-a-user/m-p/335209#M1103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/414748_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 21:19:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/how-would-i-set-my-current-workspace-as-a-user/m-p/335209#M1103</guid>
      <dc:creator>__17</dc:creator>
      <dc:date>2018-07-20T21:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: How would I set my current workspace as a user-definable parameter?</title>
      <link>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/how-would-i-set-my-current-workspace-as-a-user/m-p/335210#M1104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See:&amp;nbsp;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/functions/getparameterastext.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/functions/getparameterastext.htm"&gt;GetParameterAsText—ArcPy Functions | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 21:28:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/how-would-i-set-my-current-workspace-as-a-user/m-p/335210#M1104</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2018-07-20T21:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: How would I set my current workspace as a user-definable parameter?</title>
      <link>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/how-would-i-set-my-current-workspace-as-a-user/m-p/335211#M1105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still find this confusing. Would I set my current workspace as this?:&amp;nbsp;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;arcpy.env.workspace = arcpy.GetParameterAsText(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 22:06:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/how-would-i-set-my-current-workspace-as-a-user/m-p/335211#M1105</guid>
      <dc:creator>__17</dc:creator>
      <dc:date>2018-07-20T22:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: How would I set my current workspace as a user-definable parameter?</title>
      <link>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/how-would-i-set-my-current-workspace-as-a-user/m-p/335212#M1106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably I'm confused what you're looking for. Are you making a tool that takes a parameter, entered by the user, and sets the workspace environment? If so, then yes,&amp;nbsp;&lt;SPAN style="color: #595959; background-color: #f8f8f8; border: 0px;"&gt;arcpy.env.workspace = arcpy.GetParameterAsText(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf; background-color: #ffffff; border: 0px;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8; border: 0px;"&gt;) would make the workspace equal to the value entered in the first parameter slot. If not, what exactly are you trying to do?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 22:17:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/how-would-i-set-my-current-workspace-as-a-user/m-p/335212#M1106</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2018-07-20T22:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: How would I set my current workspace as a user-definable parameter?</title>
      <link>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/how-would-i-set-my-current-workspace-as-a-user/m-p/335213#M1107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm with Darren on the confused bit... but I presume that this is related to&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/218315-if-one-of-the-tool-parameters-is-based-on-user-input-defined-using-the-getparameterastext-function-is-it-possible-to-use-f5-to-run-the-script-successfully"&gt;https://community.esri.com/thread/218315-if-one-of-the-tool-parameters-is-based-on-user-input-defined-using-the-getparameterastext-function-is-it-possible-to-use-f5-to-run-the-script-successfully&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And Mapping Charting is probably not the place to get many responses dealing with toolboxes and/or code&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/space/2145"&gt;Python&lt;/A&gt;‌ would be best&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 22:26:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/how-would-i-set-my-current-workspace-as-a-user/m-p/335213#M1107</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-07-20T22:26:35Z</dc:date>
    </item>
  </channel>
</rss>

