<?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 Issue with Python and data driven pages in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/issue-with-python-and-data-driven-pages/m-p/339072#M26575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Less of a question, more of a bug report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to export a map series using Python and DDP. The issue arises when I try and set map resolution when calling ddp.exportToPDF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS 10.2.2 and Python 2.7.5 64 bit. I've tried running this from IDLE command line, IDLE interpreter, and PythonWin interpreter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; mxd = arcpy.mapping.MapDocument(r"D:\FOP1518\HPBR1516-11_FOP1516_Hume_Availability\mxd\fop_availability_layout_ddp.mxd")&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; ddp = mxd.dataDrivenPages&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; ddp.exportToPDF(r"D:\FOP1518\HPBR1516-11_FOP1516_Hume_Availability\output\Murrindindi\BurnAvailability_Murrindindi_","ALL","","PDF_MULTIPLE_FILES_PAGE_NAME")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I try and set output resolution to 250dpi, the interpreter crashes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ddp.exportToPDF(r"D:\FOP1518\HPBR1516-11_FOP1516_Hume_Availability\output\mur_test\BurnAvailability_Murrindindi_","ALL","","PDF_MULTIPLE_FILES_PAGE_NAME",250)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else experienced this? Am I doing something blindingly obviously wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2016 05:32:22 GMT</pubDate>
    <dc:creator>AnthonyCheesman1</dc:creator>
    <dc:date>2016-02-02T05:32:22Z</dc:date>
    <item>
      <title>Issue with Python and data driven pages</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-python-and-data-driven-pages/m-p/339072#M26575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Less of a question, more of a bug report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to export a map series using Python and DDP. The issue arises when I try and set map resolution when calling ddp.exportToPDF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS 10.2.2 and Python 2.7.5 64 bit. I've tried running this from IDLE command line, IDLE interpreter, and PythonWin interpreter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; mxd = arcpy.mapping.MapDocument(r"D:\FOP1518\HPBR1516-11_FOP1516_Hume_Availability\mxd\fop_availability_layout_ddp.mxd")&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; ddp = mxd.dataDrivenPages&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; ddp.exportToPDF(r"D:\FOP1518\HPBR1516-11_FOP1516_Hume_Availability\output\Murrindindi\BurnAvailability_Murrindindi_","ALL","","PDF_MULTIPLE_FILES_PAGE_NAME")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I try and set output resolution to 250dpi, the interpreter crashes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ddp.exportToPDF(r"D:\FOP1518\HPBR1516-11_FOP1516_Hume_Availability\output\mur_test\BurnAvailability_Murrindindi_","ALL","","PDF_MULTIPLE_FILES_PAGE_NAME",250)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else experienced this? Am I doing something blindingly obviously wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 05:32:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-python-and-data-driven-pages/m-p/339072#M26575</guid>
      <dc:creator>AnthonyCheesman1</dc:creator>
      <dc:date>2016-02-02T05:32:22Z</dc:date>
    </item>
  </channel>
</rss>

