<?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: Exporting multiple maps as images at a time, in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425658#M33435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ok, I made it into a script tool for you. You can open this up inside the current map and run it from the toolbox like any other tool.&amp;nbsp; It takes one parameter, which will be the output folder for all your .jpg files.&amp;nbsp; I tested this on the UntitledII.mxd and it worked fine.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to use your tool in my project but when i'm trying to run it's end up with the below error. i missed something..???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Arcmap 9.3.1..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Executing: Script2
Start Time: Sun May 19 12:00:47 2013
Running script Script2...
&amp;lt;type 'exceptions.SyntaxError'&amp;gt;: invalid syntax (&amp;lt;string&amp;gt;, line 26)
Failed to execute (Script2).
End Time: Sun May 19 12:00:47 2013 (Elapsed Time: 0.00 seconds)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please guide me &lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;step by step&lt;/STRONG&gt;&lt;SPAN&gt;.. because i'm very new to python programming...i wanted to learn it by doing...please help me..!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 19:10:45 GMT</pubDate>
    <dc:creator>ganeshnarim</dc:creator>
    <dc:date>2021-12-11T19:10:45Z</dc:date>
    <item>
      <title>Exporting multiple maps as images at a time,</title>
      <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425651#M33428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Exporting multiple maps as images at a time,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to export 12 maps at a time such that only 2 layers are turned on: the layer of lines and one of the buildings. The layer of buildings contains 12 fields and each field represent one property like: date of construction, number of floors, using, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24421[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there such python? For the time being I do this work manually! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 12:07:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425651#M33428</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2013-05-17T12:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple maps as images at a time,</title>
      <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425652#M33429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, this can be done with Python.&amp;nbsp; I did a simple test where I just had 12 building layers and roads were my lines and turned off all buildings layers.&amp;nbsp; I numbered them like Building1, Building2, etc. In your case you may want to give the layers a more descriptive name.&amp;nbsp; I used a wildcard to search for all layers that start with 'Buildings*' and looped through to turn only that layer on (lines layer is always on).&amp;nbsp; I am assuming your properties you want to show are set up as a label?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy, os
from arcpy import mapping as m
arcpy.env.overwriteOutput = True

mapPath = r'C:\Users\GIS\Desktop\maptest.mxd'
outpath = r'C:\Users\GIS\Desktop\Exports'

mxd = m.MapDocument(mapPath)
df = m.ListDataFrames(mxd)[0]

# Loop through layers
for lyr in m.ListLayers(mxd, 'Buildings*'):
&amp;nbsp;&amp;nbsp;&amp;nbsp; lyr.visible = True
&amp;nbsp;&amp;nbsp;&amp;nbsp; lyr.showLabels = True # I'm assuming this is where you have the properties?
&amp;nbsp;&amp;nbsp;&amp;nbsp; jpg = os.path.join(outpath, lyr.name + '.jpg')
&amp;nbsp;&amp;nbsp;&amp;nbsp; m.ExportToJPEG(mxd, jpg)
&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'Exported %s' %jpg
&amp;nbsp;&amp;nbsp;&amp;nbsp; lyr.visible = False
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
del mxd
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could get a lot more fancy with this, but this should get you started in the right direction.&amp;nbsp; Since you are at 10.1, you have more control over the legend and you can turn on/off the auto-add feature to add the current layer inside the loop to the legend.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a shot of my map and the folder with all the output jpgs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24423[/ATTACH][ATTACH=CONFIG]24424[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:10:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425652#M33429</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T19:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple maps as images at a time,</title>
      <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425653#M33430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, this can be done with Python.&amp;nbsp; I did a simple test where I just had 12 building layers and roads were my lines and turned off all buildings layers.&amp;nbsp; I numbered them like Building1, Building2, etc. In your case you may want to give the layers a more descriptive name.&amp;nbsp; I used a wildcard to search for all layers that start with 'Buildings*' and looped through to turn only that layer on (lines layer is always on).&amp;nbsp; I am assuming your properties you want to show are set up as a label?&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy, os
from arcpy import mapping as m
arcpy.env.overwriteOutput = True

mapPath = r'C:\Users\GIS\Desktop\maptest.mxd'
outpath = r'C:\Users\GIS\Desktop\Exports'

mxd = m.MapDocument(mapPath)
df = m.ListDataFrames(mxd)[0]

# Loop through layers
for lyr in m.ListLayers(mxd, 'Buildings*'):
&amp;nbsp;&amp;nbsp;&amp;nbsp; lyr.visible = True
&amp;nbsp;&amp;nbsp;&amp;nbsp; lyr.showLabels = True # I'm assuming this is where you have the properties?
&amp;nbsp;&amp;nbsp;&amp;nbsp; jpg = os.path.join(outpath, lyr.name + '.jpg')
&amp;nbsp;&amp;nbsp;&amp;nbsp; m.ExportToJPEG(mxd, jpg)
&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'Exported %s' %jpg
&amp;nbsp;&amp;nbsp;&amp;nbsp; lyr.visible = False
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
del mxd
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;You could get a lot more fancy with this, but this should get you started in the right direction.&amp;nbsp; Since you are at 10.1, you have more control over the legend and you can turn on/off the auto-add feature to add the current layer inside the loop to the legend.&lt;BR /&gt;&lt;BR /&gt;Here is a shot of my map and the folder with all the output jpgs.&lt;BR /&gt;[ATTACH=CONFIG]24423[/ATTACH][ATTACH=CONFIG]24424[/ATTACH]&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Very much appreciated Caleb,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With my little experience in playing with codes, I couldn�??t figure out how to stich the code in a �??script tool�?� such that the inputs\outputs can be filled by a dialogue box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24426[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or even I couldn�??t know how to run the code!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The data is attached&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:10:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425653#M33430</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2021-12-11T19:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple maps as images at a time,</title>
      <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425654#M33431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I made it into a script tool for you. You can open this up inside the current map and run it from the toolbox like any other tool.&amp;nbsp; It takes one parameter, which will be the output folder for all your .jpg files.&amp;nbsp; I tested this on the UntitledII.mxd and it worked fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 13:47:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425654#M33431</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-05-17T13:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple maps as images at a time,</title>
      <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425655#M33432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ok, I made it into a script tool for you. You can open this up inside the current map and run it from the toolbox like any other tool.&amp;nbsp; It takes one parameter, which will be the output folder for all your .jpg files.&amp;nbsp; I tested this on the UntitledII.mxd and it worked fine.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fantastic! It worked fine. This will be saving much of my time. Thank you so much for the crucial development.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I�??m not sure if this code can be further developed such that &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. it generates copies of the �??Building�?� such that a copy for each field (except the built in fields) is added&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24439[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. these copies are symbolized according to their corresponding fields such that the copy which has been generated based on the �??stage�?� field, for example, is also classified based on this field (stage).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24440[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that this might require massive effort and time to be done! However, the one you have already developed is great. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could do the above mentioned steps manually unless you are still willing to offer help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 16:01:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425655#M33432</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2013-05-17T16:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple maps as images at a time,</title>
      <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425656#M33433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ok, I made it into a script tool for you. You can open this up inside the current map and run it from the toolbox like any other tool.&amp;nbsp; It takes one parameter, which will be the output folder for all your .jpg files.&amp;nbsp; I tested this on the UntitledII.mxd and it worked fine.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Caleb,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to make your fantastic script tool more generic?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted the end user to have the option to choose which layers that should be kept turned on and which layers that to be turned on/off&amp;nbsp; while creating the images.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, in the screenshot below, I need to keep the �??governorates�?� layer turned on with only one of other layers! In this case six images are expected to be exported&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24450[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 18:54:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425656#M33433</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2013-05-17T18:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple maps as images at a time,</title>
      <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425657#M33434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jamal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to alter the tool to do what you wanted, however, every time I run it ArcMap freezes after it is complete.&amp;nbsp; It properly exports all the jpgs but then I have to force close ArcMap afterwards.&amp;nbsp; I do not really know what is going on with that, I could not figure out what is causing the issue.&amp;nbsp; I played around with deleting the mxd object, refreshing the active view and a few others but same result every time, I don't know why.&amp;nbsp; See if you can reproduce this issue.&amp;nbsp; Here is the tool, hopefully it will work without freezing ArcMap for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone else tests this out (v 10.1 tool) and can figure out why it might be crashing ArcMap I would love to know!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 May 2013 21:24:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425657#M33434</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-05-18T21:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple maps as images at a time,</title>
      <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425658#M33435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ok, I made it into a script tool for you. You can open this up inside the current map and run it from the toolbox like any other tool.&amp;nbsp; It takes one parameter, which will be the output folder for all your .jpg files.&amp;nbsp; I tested this on the UntitledII.mxd and it worked fine.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to use your tool in my project but when i'm trying to run it's end up with the below error. i missed something..???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Arcmap 9.3.1..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Executing: Script2
Start Time: Sun May 19 12:00:47 2013
Running script Script2...
&amp;lt;type 'exceptions.SyntaxError'&amp;gt;: invalid syntax (&amp;lt;string&amp;gt;, line 26)
Failed to execute (Script2).
End Time: Sun May 19 12:00:47 2013 (Elapsed Time: 0.00 seconds)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please guide me &lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;step by step&lt;/STRONG&gt;&lt;SPAN&gt;.. because i'm very new to python programming...i wanted to learn it by doing...please help me..!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:10:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425658#M33435</guid>
      <dc:creator>ganeshnarim</dc:creator>
      <dc:date>2021-12-11T19:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple maps as images at a time,</title>
      <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425659#M33436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Jamal,&lt;BR /&gt;&lt;BR /&gt;I was able to alter the tool to do what you wanted, however, every time I run it ArcMap freezes after it is complete.&amp;nbsp; It properly exports all the jpgs but then I have to force close ArcMap afterwards.&amp;nbsp; I do not really know what is going on with that, I could not figure out what is causing the issue.&amp;nbsp; I played around with deleting the mxd object, refreshing the active view and a few others but same result every time, I don't know why.&amp;nbsp; See if you can reproduce this issue.&amp;nbsp; Here is the tool, hopefully it will work without freezing ArcMap for you.&lt;BR /&gt;&lt;BR /&gt;If anyone else tests this out (v 10.1 tool) and can figure out why it might be crashing ArcMap I would love to know!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Perfect�?�Perfect�?�Perfect! It worked like a charm. I�??m very thankful to your help and massive effort.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ArcGIS 10.1 didn�??t crash&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24480[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 11:11:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425659#M33436</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2013-05-19T11:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple maps as images at a time,</title>
      <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425660#M33437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I wanted to use your tool in my project but when i'm trying to run it's end up with the below error. i missed something..???&lt;BR /&gt;I'm using Arcmap 9.3.1..&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Executing: Script2
Start Time: Sun May 19 12:00:47 2013
Running script Script2...
&amp;lt;type 'exceptions.SyntaxError'&amp;gt;: invalid syntax (&amp;lt;string&amp;gt;, line 26)
Failed to execute (Script2).
End Time: Sun May 19 12:00:47 2013 (Elapsed Time: 0.00 seconds)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Can you please guide me &lt;STRONG style="text-decoration: underline;"&gt;step by step&lt;/STRONG&gt;.. because i'm very new to python programming...i wanted to learn it by doing...please help me..!!&lt;BR /&gt;&lt;BR /&gt;Thanks..&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi ganesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It worked fine in ArcGIS 10.1. There should be some issues related to your version&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:10:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425660#M33437</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2021-12-11T19:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple maps as images at a time,</title>
      <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425661#M33438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi ganesh,&lt;BR /&gt;&lt;BR /&gt;It worked fine in ArcGIS 10.1. There should be some issues related to your version&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Jamal&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jamal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply...!!!&amp;nbsp;&amp;nbsp; Is there any other way to run this tool in my version..????&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope some one will help..!!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 14:51:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425661#M33438</guid>
      <dc:creator>ganeshnarim</dc:creator>
      <dc:date>2013-05-19T14:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple maps as images at a time,</title>
      <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425662#M33439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@ Jamal&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Perfect�?�Perfect�?�Perfect! It worked like a charm. I�??m very thankful to your help and massive effort.&lt;BR /&gt;&lt;BR /&gt;The ArcGIS 10.1 didn�??t crash&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good to know it did not crash the map for you...I tested it on my laptop, which has &lt;/SPAN&gt;&lt;STRONG&gt;Windows 8&lt;/STRONG&gt;&lt;SPAN&gt; and ArcGIS for home use license. Perhaps the freezing issue was related to running on Windows 8 but who knows.&amp;nbsp; I'll try it on my work computer tomorrow (Windows 7) to see if I can reproduce the issue.&amp;nbsp; Should be good to go on any mxd and you can leave as many layers on as you want using the "keep layers on" parameter.&amp;nbsp; I did not explain in my prior post, but I also have set up a wildcard option for the other layers (the ones used to turn on and off during the export to JPG).&amp;nbsp; This may be useful for future use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@ Ganesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks for your reply...!!! Is there any other way to run this tool in my version..????&lt;BR /&gt;Hope some one will help..!!!! &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The tool I wrote is an ArcGIS 10.1 tool.&amp;nbsp; This would be backwards compatible with 10.0 (but you would have to redo the set up to a script tool as a 10.0 version tool for the GUI).&amp;nbsp; To answer your question, no this script is not compatible with ArcGIS 9.3 because it uses the arcpy module (and more importantly the mapping class for this tool); 9.3 uses arcgisscripting.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 15:06:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425662#M33439</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-05-19T15:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple maps as images at a time,</title>
      <link>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425663#M33440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;@ Jamal&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good to know it did not crash the map for you...I tested it on my laptop, which has &lt;STRONG&gt;Windows 8&lt;/STRONG&gt; and ArcGIS for home use license. Perhaps the freezing issue was related to running on Windows 8 but who knows.&amp;nbsp; I'll try it on my work computer tomorrow (Windows 7) to see if I can reproduce the issue.&amp;nbsp; Should be good to go on any mxd and you can leave as many layers on as you want using the "keep layers on" parameter.&amp;nbsp; I did not explain in my prior post, but I also have set up a wildcard option for the other layers (the ones used to turn on and off during the export to JPG).&amp;nbsp; This may be useful for future use.&lt;BR /&gt;&lt;BR /&gt;@ Ganesh,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The tool I wrote is an ArcGIS 10.1 tool.&amp;nbsp; This would be backwards compatible with 10.0 (but you would have to redo the set up to a script tool as a 10.0 version tool for the GUI).&amp;nbsp; To answer your question, no this script is not compatible with ArcGIS 9.3 because it uses the arcpy module (and more importantly the mapping class for this tool); 9.3 uses arcgisscripting.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for the further elaboration Caleb.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 19:33:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-multiple-maps-as-images-at-a-time/m-p/425663#M33440</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2013-05-19T19:33:12Z</dc:date>
    </item>
  </channel>
</rss>

