<?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: Modifying Python code in Python Snippets Questions</title>
    <link>https://community.esri.com/t5/python-snippets-questions/modifying-python-code/m-p/703062#M10</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Adrian. &amp;nbsp; The page that you sent the link for is where I found the modifications that I think I need. &amp;nbsp;I don't think I need to post more of the code in the tool as there are no variables in that particular line. &amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not run the modified code yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2016 20:13:33 GMT</pubDate>
    <dc:creator>NoelAlfonso</dc:creator>
    <dc:date>2016-09-16T20:13:33Z</dc:date>
    <item>
      <title>Modifying Python code</title>
      <link>https://community.esri.com/t5/python-snippets-questions/modifying-python-code/m-p/703060#M8</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a tool&amp;nbsp;for batch map output (ArcMap 10.2) that was written&amp;nbsp;for me by a volunteer. &amp;nbsp;I need to modify the code&amp;nbsp;for a publisher to embed document fonts and convert marker symbols to polygons in an EPS file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #1f497d;"&gt;Original code:&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;arcpy.mapping.ExportToEPS(mxd,saveloc + ".eps",data_frame = "PAGE_LAYOUT",resolution = res)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #1f497d;"&gt;Modified code:&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp;arcpy.mapping.ExportToEPS(mxd,saveloc + ".eps",data_frame = "PAGE_LAYOUT",resolution = &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;res, convert_markers = True, &lt;SPAN style="color: #4d4d4d; background: white;"&gt;embed_fonts = True&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Do you think that this might work?&amp;nbsp; Thank you in advance for any advice.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 19:42:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/modifying-python-code/m-p/703060#M8</guid>
      <dc:creator>NoelAlfonso</dc:creator>
      <dc:date>2016-09-16T19:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Python code</title>
      <link>https://community.esri.com/t5/python-snippets-questions/modifying-python-code/m-p/703061#M9</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Noel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might help if you move this thread to the &lt;A href="https://community.esri.com/space/2145"&gt;Python&lt;/A&gt;‌ place and it might help if you post more of your code so people can see what some of the variables are referencing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried your modified code yet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the help topic for the tool you're wanting to use&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/exporttoeps.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/exporttoeps.htm"&gt;ExportToEPS—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the bottom, there is an example you could look at for reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 20:02:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/modifying-python-code/m-p/703061#M9</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-09-16T20:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Python code</title>
      <link>https://community.esri.com/t5/python-snippets-questions/modifying-python-code/m-p/703062#M10</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Adrian. &amp;nbsp; The page that you sent the link for is where I found the modifications that I think I need. &amp;nbsp;I don't think I need to post more of the code in the tool as there are no variables in that particular line. &amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not run the modified code yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 20:13:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/modifying-python-code/m-p/703062#M10</guid>
      <dc:creator>NoelAlfonso</dc:creator>
      <dc:date>2016-09-16T20:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Python code</title>
      <link>https://community.esri.com/t5/python-snippets-questions/modifying-python-code/m-p/703063#M11</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Noel! &amp;nbsp;The convert_markers=True would definitely make a difference since the default is false. &amp;nbsp;It never hurts to specify variables with their value, even if their value is indeed the same. &amp;nbsp;There is a downside in this particular case, which may or may not have an impact on the resultant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;However, setting this parameter to True disables font embedding for all character-based marker symbols, which can result in a change in their appearance.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to do a comparison if you use character-based marker symbols. &amp;nbsp;If you aren't using them, then there should be no issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 20:32:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/modifying-python-code/m-p/703063#M11</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-16T20:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Python code</title>
      <link>https://community.esri.com/t5/python-snippets-questions/modifying-python-code/m-p/703064#M12</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Noel &lt;A href="https://community.esri.com/community/developers/gis-developers/python?sr=search&amp;amp;searchId=f6ac0fdb-1199-4fd0-9c4a-ed062b3e67b7&amp;amp;searchIndex=0"&gt;https://community.esri.com/community/developers/gis-developers/python?sr=search&amp;amp;searchId=f6ac0fdb-1199-4fd0-9c4a-ed062b3e67b7&amp;amp;searchIndex=0&lt;/A&gt;‌ is the more widely view Place to post python questions &lt;A href="https://community.esri.com/groups/python-snippets?sr=search&amp;amp;searchId=982c0cf3-0206-417f-9817-c5c351de3254&amp;amp;searchIndex=0"&gt;https://community.esri.com/groups/python-snippets?sr=search&amp;amp;searchId=982c0cf3-0206-417f-9817-c5c351de3254&amp;amp;searchIndex=0&lt;/A&gt;‌ is fine, but you may find it has a smaller audience but they do tend to participate in the former as well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Sep 2016 11:21:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/modifying-python-code/m-p/703064#M12</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-17T11:21:51Z</dc:date>
    </item>
  </channel>
</rss>

