<?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: update all text elememts (not working) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322253#M25105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="494" src="https://community.esri.com/legacyfs/online/261100_pastedImage_2.png" width="750" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This time I ran it using the same path syntax in all instances. It ran and copied over the 1st_District_B.mxd, but that was all it did. Were you saying you used this script to work on all the mxds in a folder/drive? That's what i'm ultimately trying to do here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2016 14:59:54 GMT</pubDate>
    <dc:creator>JaredPilbeam1</dc:creator>
    <dc:date>2016-11-10T14:59:54Z</dc:date>
    <item>
      <title>update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322244#M25096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="260508" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/260508_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran this script&amp;nbsp;in PythonWin. I have folder(s) full of mxd documents that will require annual updates such as the&amp;nbsp;year (date), which is what I was attempting here. This script ran but there were no changes made to the doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the original doc is in one folder and I want to change the date then&amp;nbsp;save it in&amp;nbsp;another folder. I've attached a PDF of the map I'm attempting to update. The&amp;nbsp;year (2016) is in the title and signature. In the title, the year&amp;nbsp;is grouped with the rest. That may be a problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the script wrong? Or is the title not properly represented in the text string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 18:41:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322244#M25096</guid>
      <dc:creator>JaredPilbeam1</dc:creator>
      <dc:date>2016-11-09T18:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322245#M25097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've done this for hundreds of mxds using a script like below:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;import arcpy, os
workspace = r'C:\blahblahblah' # starting directory

for root, dirs, files in os.walk(workspace, topdown=True): # starting traversing directories
&amp;nbsp;&amp;nbsp;&amp;nbsp; for file in files: # loop through file names
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if file.endswith('.mxd'): # if it's an mxd
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd = arcpy.mapping.MapDocument(os.path.join(root,file))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; els = arcpy.mapping.ListLayoutElements(mxd, 'TEXT_ELEMENT')
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for el in els:
&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; if 'old text' in el.text:
&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; el.text = el.text.replace('old text','new text')
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd.save()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del mxd‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect your problem is that your text box text doesn't &lt;EM&gt;equal&lt;/EM&gt; '2016' but it &lt;EM&gt;contains&lt;/EM&gt; '2016'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:17:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322245#M25097</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2021-12-11T15:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322246#M25098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. I'm a little confused on part of&amp;nbsp;your script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;mxd = arcpy.mapping.MapDocument(os.path.join(root,file)) &amp;lt;-- &lt;/STRONG&gt;What exactly are the parameters you used for the &amp;nbsp;&amp;nbsp;&amp;nbsp; MapDocument function here? Because looking&amp;nbsp;in the ArcPy Help, the parameters in that function appear as such:&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/260575_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using your template, here is what I have so far:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/260588_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 19:47:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322246#M25098</guid>
      <dc:creator>JaredPilbeam1</dc:creator>
      <dc:date>2016-11-09T19:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322247#M25099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;mxd = arcpy.mapping.MapDocument(os.path.join(root,file))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;Explanation:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;root = the root folder (everything except the filename and extension) for the current mxd file, produced by os.walk&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;file = the filename and extension for the current mxd file, produced by os.walk&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;os.path.join(root,file) = the full path to the current mxd file (root + file)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;arcpy.mapping.MapDocument(os.path.join(root,file)) = an arcpy map document object for the current mxd file&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;If it makes it easier, you can split those lines apart like this:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;mxd_path = os.path.join(root,file)
mxd = arcpy.mapping.MapDocument(mxd_path)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:18:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322247#M25099</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2021-12-11T15:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322248#M25100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I completed the script as such and added mxd.saveACopy supposing that would save it to the new 2017 folder, but then received an error:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/260628_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 21:18:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322248#M25100</guid>
      <dc:creator>JaredPilbeam1</dc:creator>
      <dc:date>2016-11-09T21:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322249#M25101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On line 15, you need to specify a full path to an MXD.&amp;nbsp; The way it looks now, you are trying to save an MXD as a file system folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 21:41:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322249#M25101</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-11-09T21:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322250#M25102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try passing a full path including '.mxd' rather than the folder name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 21:43:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322250#M25102</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-11-09T21:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322251#M25103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/260645_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the same error after including the document and extension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 21:57:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322251#M25103</guid>
      <dc:creator>JaredPilbeam1</dc:creator>
      <dc:date>2016-11-09T21:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322252#M25104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May not be the problem, but your path syntax is not necessarily correct - use single forward slash, double backslash, or raw string notation (as you did for the first path).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other than that, does the folder exist that you're trying to save to? And, obviously, do you have write access?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 22:02:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322252#M25104</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-11-09T22:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322253#M25105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="494" src="https://community.esri.com/legacyfs/online/261100_pastedImage_2.png" width="750" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This time I ran it using the same path syntax in all instances. It ran and copied over the 1st_District_B.mxd, but that was all it did. Were you saying you used this script to work on all the mxds in a folder/drive? That's what i'm ultimately trying to do here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 14:59:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322253#M25105</guid>
      <dc:creator>JaredPilbeam1</dc:creator>
      <dc:date>2016-11-10T14:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322254#M25106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I used my script to change the same text in over 200 mxds within a single folder structure (i.e. including subfolders). The only thing I can think of is that my script used mxd.save() and yours uses mxd.saveACopy(...). Not sure if there is some sort of quirk there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 17:21:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322254#M25106</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-11-10T17:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322255#M25107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, you've been really helpful. Still getting an error on this, however.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, your script is just saving into the same folder, correct? I changed your mxd.save() to mxd.saveACopy in order to save to a different folder, as I don't want to copy over the 2016 mxds. That's where I'm confused now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, by including the 1st_District_B.mxd in line 15 it seems to want to copy that particular mxd only. If there was a sort of wildcard operation i can run to avoid these problems that would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, I found this method and adapted it:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/261344_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it got past the first part as you see the print mxdname was carried out. But, only one mxd saved into the new folder and the text wasn't changed either.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 21:32:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322255#M25107</guid>
      <dc:creator>JaredPilbeam1</dc:creator>
      <dc:date>2016-11-10T21:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322256#M25108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can see that the code doesn't ever get into the part where it changes the text (you'd also get an error because you've got elm and eml). Is the entire piece of text in the text element '2016' or 'Will County, Illinois ~ 2016'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the mxd saved each time through the loop, you need to indent it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to change the name of the saved mxd dynamically, based on the 'mxdname' variable, it would be something like this:&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;mxd&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;saveACopy&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;join&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;path_to_your_folder&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; mxdname&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;^ you should use os.path.join to make paths because it handles things like slashes for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 21:57:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322256#M25108</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-11-10T21:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: update all text elememts (not working)</title>
      <link>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322257#M25109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Darren&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So, after your suggestions and getting some more help on this I was able to run it successfully. I indented the mxd.saveACopy and added a &lt;EM&gt;&lt;STRONG&gt;if in&lt;/STRONG&gt; loop,&lt;/EM&gt;&amp;nbsp;then printed out what changed.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/263415_pastedImage_3.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 22:00:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-all-text-elememts-not-working/m-p/322257#M25109</guid>
      <dc:creator>JaredPilbeam1</dc:creator>
      <dc:date>2016-11-14T22:00:18Z</dc:date>
    </item>
  </channel>
</rss>

