<?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: Python Toolbox Help in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-toolbox-help/m-p/318235#M24716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exporting the layers multivalue parameter to a text file works great. I am able to use that same text file to populate the layers multivalue parameter and then I can remove any layers that I don't want.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Sep 2020 15:13:22 GMT</pubDate>
    <dc:creator>MarkBinder</dc:creator>
    <dc:date>2020-09-14T15:13:22Z</dc:date>
    <item>
      <title>Python Toolbox Help</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-help/m-p/318232#M24713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a Python toolbox that will copy feature classes from an enterprise geodatabase and put them in a local file geodatabase.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the first parameter set up as a multivalue where the user can input the feature classes to copy. I would like to give the user the option to save the feature class names to a file for future use. I am able to save&amp;nbsp;the list of layers to a text file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I load the feature classes from the text file into the script? Is it as simple as making the parameter.value equal to the saved text?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2020 12:08:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-help/m-p/318232#M24713</guid>
      <dc:creator>MarkBinder</dc:creator>
      <dc:date>2020-09-09T12:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Python Toolbox Help</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-help/m-p/318233#M24714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would have to read the file, so the parameter would be of type 'file'.&amp;nbsp; Then you have to parse the file by line, check that each path is valid, then define the multivalue list so that people could remove/add to what was in the file.&lt;/P&gt;&lt;P&gt;Do you have the script working without this extra layer of complication?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2020 16:26:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-help/m-p/318233#M24714</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-09-09T16:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Python Toolbox Help</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-help/m-p/318234#M24715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the script working right now; it just takes layers and copies them to a file geodatabase. I already created the option to save the list of layers to a text file; this consists of a check box and an input for where to save the text file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do is have something similar for retrieving the list of layers from the text file. So I would have a checkbox to import the layers from the text file and a parameter to designate the text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been able to save the list of layers by saving the parameter.valueAsText to the text file. I am trying to set it so once the user checks the box and designates a text file and it sets the parameter.value equal to the text in the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested it with layers from a geodatabase and the layers parameter populated all of the layers from the text file. What I need to do is get it to work with layers in an sde connection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2020 16:49:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-help/m-p/318234#M24715</guid>
      <dc:creator>MarkBinder</dc:creator>
      <dc:date>2020-09-09T16:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Python Toolbox Help</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-help/m-p/318235#M24716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exporting the layers multivalue parameter to a text file works great. I am able to use that same text file to populate the layers multivalue parameter and then I can remove any layers that I don't want.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2020 15:13:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-help/m-p/318235#M24716</guid>
      <dc:creator>MarkBinder</dc:creator>
      <dc:date>2020-09-14T15:13:22Z</dc:date>
    </item>
  </channel>
</rss>

