<?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: Using Data Interoperability tool Quick Import from command line in ArcGIS Data Interoperability Ques.</title>
    <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487800#M353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, Bruce!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It certainly seems that your suggestion should be the way to go but I'm unable to use the model in my Python script. I can use other models and Python scripts from my toolbox but for some reason I cannot use the model with the Quick Import tool. If I list the attributes of the arcpy object after importing my toolbox (with dir(arcpy) or arcpy.__dict__), is does not contain the name of the Quick Import tool (but the names of the other tools and models are listed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS 10.5.1. Any ideas&amp;nbsp;for a solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Nov 2017 10:15:25 GMT</pubDate>
    <dc:creator>MihkelMänna</dc:creator>
    <dc:date>2017-11-10T10:15:25Z</dc:date>
    <item>
      <title>Using Data Interoperability tool Quick Import from command line</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487798#M351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;need to automate downloading features from a WFS service. When using the Quick Import tool from the Data Interoperability toolbox in ArcMap/ArcCatalog, it works fine, but when right-click the successful result, copy it as a Python snippet and use it in a script from command line, it won't work.&amp;nbsp;A generic error message is displayed:&amp;nbsp;RuntimeError: Object: Error in executing tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how to resolve this?&amp;nbsp;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 12:20:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487798#M351</guid>
      <dc:creator>MihkelMänna</dc:creator>
      <dc:date>2017-11-09T12:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using Data Interoperability tool Quick Import from command line</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487799#M352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The Python you get from copying the result will have a lot of double quoted parameters bookended by a pair of single quotes, and it will be hard to edit.&lt;/P&gt;&lt;P&gt;Drag your result object into a new Model and save the model in a toolbox, you can run that with a Python script.&amp;nbsp; Don't forget to set the name and alias properties to get the tool name correct for Python.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 14:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487799#M352</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2017-11-09T14:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using Data Interoperability tool Quick Import from command line</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487800#M353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, Bruce!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It certainly seems that your suggestion should be the way to go but I'm unable to use the model in my Python script. I can use other models and Python scripts from my toolbox but for some reason I cannot use the model with the Quick Import tool. If I list the attributes of the arcpy object after importing my toolbox (with dir(arcpy) or arcpy.__dict__), is does not contain the name of the Quick Import tool (but the names of the other tools and models are listed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS 10.5.1. Any ideas&amp;nbsp;for a solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 10:15:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487800#M353</guid>
      <dc:creator>MihkelMänna</dc:creator>
      <dc:date>2017-11-10T10:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using Data Interoperability tool Quick Import from command line</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487801#M354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the data interoperability extension get listed?&amp;nbsp; I don't know if it needs to be enabled in the script like you have to when running spatial analyst tools in a script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 13:38:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487801#M354</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-10T13:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using Data Interoperability tool Quick Import from command line</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487802#M355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The "interop" module gets listed, as well as the "QuickExport_interop" and "QuickImport_interop"&amp;nbsp;tools/functions. Checking out the extension (&lt;SPAN class="" style="color: #4d4d4d;"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;CheckOutExtension&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #a31515;"&gt;"DataInteroperability"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;))&lt;/SPAN&gt;&amp;nbsp;in the script before importing the toolbox doesn't help, unfortunately..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 13:54:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487802#M355</guid>
      <dc:creator>MihkelMänna</dc:creator>
      <dc:date>2017-11-10T13:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using Data Interoperability tool Quick Import from command line</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487803#M356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using 10.5.1 too and the pattern works for me.&amp;nbsp; I attach a TBX and Python script which successfully used Quick Import in a model called from the standalone script.&lt;/P&gt;&lt;P&gt;Unfortunately I have to break the WFS source in the sample as it contains an API key I cannot share, but you can get your own to repair the source:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://data.linz.govt.nz/layer/50086-nz-chatham-island-island-polygons-topo-150k/webservices/" title="https://data.linz.govt.nz/layer/50086-nz-chatham-island-island-polygons-topo-150k/webservices/"&gt;NZ Chatham Island Island Polygons (Topo, 1:50k) Web Services and API Availability | LINZ Data Service&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the TBX alias is required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your WFS service is simple features only you may not need to check out the extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it still doesn't work and you can share your input service URL log a support call and ask them to check with me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 15:15:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487803#M356</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2017-11-10T15:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using Data Interoperability tool Quick Import from command line</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487804#M357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the sample TBX and Python script, Bruce!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However,&amp;nbsp;after&amp;nbsp;inserting my API key in the model and fixing the path to the toolbox in the Python script, I still get the same error:&amp;nbsp;AttributeError: 'module' object has no attribute 'GetChathams_GetChathams' . If I run the same model in ArcGIS, everything works fine. The toolbox import in the script works and "GetChathams" is added as an arcpy attribute, but "&lt;SPAN&gt;GetChathams_GetChathams" is not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 08:19:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487804#M357</guid>
      <dc:creator>MihkelMänna</dc:creator>
      <dc:date>2017-11-13T08:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using Data Interoperability tool Quick Import from command line</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487805#M358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mihkel&lt;/P&gt;&lt;P&gt;I don't know what is going on here, I could take some guesses but I think the best thing to do now is log a support call.&amp;nbsp; The toolbox import is not working.&amp;nbsp; When you get it resolved please post back here so we can all learn something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 14:57:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487805#M358</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2017-11-13T14:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using Data Interoperability tool Quick Import from command line</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487806#M359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, I stumbled upon a solution myself..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the 64-bit Python set as the Python path and tried to use&amp;nbsp;it for Python scripts from command line. However, it did not work for&amp;nbsp;scripts and models that were using Data Interoperability functions. When directing the Python path to 32-bit Python, the scripts worked. So I guess Data Interoperability tools use 32-bit Python in the background and we can also only use 32-bit Python for Data Interoperability scripting...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 08:44:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487806#M359</guid>
      <dc:creator>MihkelMänna</dc:creator>
      <dc:date>2017-11-21T08:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using Data Interoperability tool Quick Import from command line</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487807#M360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It isn't Data Interoperability functions that need 32bit Python, it is all ArcGIS 10.x apps, ArcGIS Pro uses 64bit Python, but for that we recommend not using PYTHONPATH to control Python access.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 15:28:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487807#M360</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2017-11-21T15:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using Data Interoperability tool Quick Import from command line</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487808#M361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information, Bruce! I actually always used 64-bit Python for running scripts for different geoprocessing tasks etc. and only now started to have problems with&amp;nbsp;these FME tools.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 07:31:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/using-data-interoperability-tool-quick-import-from/m-p/487808#M361</guid>
      <dc:creator>MihkelMänna</dc:creator>
      <dc:date>2017-11-22T07:31:40Z</dc:date>
    </item>
  </channel>
</rss>

