<?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: Export to TIFF Script Crashes in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/export-to-tiff-script-crashes/m-p/329061#M25593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion Dan. This issue is solved now. As you suggested, I first created raster layers in the proper symbology and ran the script to add raster layers and iterated through the layer list to export the tiff images.&lt;/P&gt;&lt;P&gt;I appreciate your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jan 2018 16:51:10 GMT</pubDate>
    <dc:creator>AlfredKalyanapu</dc:creator>
    <dc:date>2018-01-09T16:51:10Z</dc:date>
    <item>
      <title>Export to TIFF Script Crashes</title>
      <link>https://community.esri.com/t5/python-questions/export-to-tiff-script-crashes/m-p/329057#M25589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to ArcGIS Pro and to Python Programming. I recently made a python script intended to iteratively add raster layer to my 3D scene, then generate a TIFF and remove the raster layer and move on to the next iteration. When I run the script, ArcGIS Pro crashes. I have no idea how to proceed further. Any help will be much appreciated. I attached the python script to this message, for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jan 2018 23:55:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-to-tiff-script-crashes/m-p/329057#M25589</guid>
      <dc:creator>AlfredKalyanapu</dc:creator>
      <dc:date>2018-01-07T23:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Export to TIFF Script Crashes</title>
      <link>https://community.esri.com/t5/python-questions/export-to-tiff-script-crashes/m-p/329058#M25590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what happens when you run through the process once manually and copy the Results window to a script?&amp;nbsp; Does the process work manually or fail?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 00:15:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-to-tiff-script-crashes/m-p/329058#M25590</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-08T00:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Export to TIFF Script Crashes</title>
      <link>https://community.esri.com/t5/python-questions/export-to-tiff-script-crashes/m-p/329059#M25591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response Dan.&lt;/P&gt;&lt;P&gt;I ran through the process using the Python command line prompt within ArcGIS Pro first (without for loop though). It worked without have any issues then. After that I created the script and ran without For loop for just one raster, and it worked. It is when I put the For loop in, when it started crashing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: I was able to isolate the crash trigger to "sc1.removeLayer(layer)". Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 13:35:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-to-tiff-script-crashes/m-p/329059#M25591</guid>
      <dc:creator>AlfredKalyanapu</dc:creator>
      <dc:date>2018-01-08T13:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Export to TIFF Script Crashes</title>
      <link>https://community.esri.com/t5/python-questions/export-to-tiff-script-crashes/m-p/329060#M25592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would make sure that the layer is indeed there prior to removelayer by printing its path.&amp;nbsp; I am wondering if removelayer is the correct approach if you aren';t actually running this with arcmap open.&amp;nbsp; It may be delete layer.&amp;nbsp; In any event, check the sizes of the files and just leave them alone until the process runs then delete later if possible.&amp;nbsp; If not, try it in Pro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 20:41:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-to-tiff-script-crashes/m-p/329060#M25592</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-08T20:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Export to TIFF Script Crashes</title>
      <link>https://community.esri.com/t5/python-questions/export-to-tiff-script-crashes/m-p/329061#M25593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion Dan. This issue is solved now. As you suggested, I first created raster layers in the proper symbology and ran the script to add raster layers and iterated through the layer list to export the tiff images.&lt;/P&gt;&lt;P&gt;I appreciate your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 16:51:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-to-tiff-script-crashes/m-p/329061#M25593</guid>
      <dc:creator>AlfredKalyanapu</dc:creator>
      <dc:date>2018-01-09T16:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Export to TIFF Script Crashes</title>
      <link>https://community.esri.com/t5/python-questions/export-to-tiff-script-crashes/m-p/329062#M25594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem... glad it worked out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 16:57:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-to-tiff-script-crashes/m-p/329062#M25594</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-09T16:57:02Z</dc:date>
    </item>
  </channel>
</rss>

