<?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: Python - ArcGIS 10 Desktop Symbology - Label Color = Unique Values Symbology Colo in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518897#M40633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;arcpy.ApplySymbologyFromLayer is very similar to arcpy.mapping.UpdateLayer (with more options than just symbology).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As mentioned above, you still need to author a layer file ahead of time - there is no way to automate the symbology changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2011 13:33:28 GMT</pubDate>
    <dc:creator>JeffBarrette</dc:creator>
    <dc:date>2011-10-06T13:33:28Z</dc:date>
    <item>
      <title>Python - ArcGIS 10 Desktop Symbology - Label Color = Unique Values Symbology Color</title>
      <link>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518892#M40628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm looking for a bit of help with this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got a polyline feature that contains hundreds of data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I symbolized the data using "Categories" �?? "Unique values".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I make the labels color matching the polylines symbols color ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found a &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=1730&amp;amp;t=227257"&gt;script&lt;/A&gt;&lt;SPAN&gt; on the forum to achieve that but it's made with VBA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did anyone solve this problem using Python Script ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 21:00:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518892#M40628</guid>
      <dc:creator>SchoppMatthieu</dc:creator>
      <dc:date>2011-10-04T21:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Python - ArcGIS 10 Desktop Symbology - Label Color = Unique Values Symbology Colo</title>
      <link>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518893#M40629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't believe this is available. ESRI doesn't give control over that portion of the properties dialogue box via python yet. I was looking into this last week and came across a blog somewhere that suggested it may be available in 10.1. If you find a way to do this, please post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 21:49:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518893#M40629</guid>
      <dc:creator>MikeMacRae</dc:creator>
      <dc:date>2011-10-04T21:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Python - ArcGIS 10 Desktop Symbology - Label Color = Unique Values Symbology Colo</title>
      <link>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518894#M40630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did anyone else try to achieve this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 03:33:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518894#M40630</guid>
      <dc:creator>SchoppMatthieu</dc:creator>
      <dc:date>2011-10-05T03:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Python - ArcGIS 10 Desktop Symbology - Label Color = Unique Values Symbology Colo</title>
      <link>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518895#M40631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure you can even do this in the user interface.&amp;nbsp; But once you have all your label symbol colors matching the line symbol colors you could save the results to a layer file.&amp;nbsp; With arcpy.mapping you can update the symbology of other layers in other map documents or layer files using the UpdateLayer function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/UpdateLayer/00s30000003p000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/UpdateLayer/00s30000003p000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This scenario will not be possible with 10.1 using arcpy.&amp;nbsp; At 10.1 we've introduced a limited set of symbology renderers to the arcpy.mapping API (e.g., Raster Classified).&amp;nbsp; With these new classess you can change the number of classes, change min/max values, class break values, etc.&amp;nbsp; There is nothing in the new API that allows you to change label symbols.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 13:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518895#M40631</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2011-10-05T13:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Python - ArcGIS 10 Desktop Symbology - Label Color = Unique Values Symbology Colo</title>
      <link>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518896#M40632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;use&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
symbologyLayer = "path/to/the/lyr/with/the/symbology/you/like.lyr"
lyr = your layer
arcpy.ApplySymbologyFromLayer_management (lyr, symbologyLayer)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can find the documentation &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000006n000000" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ciao,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AC&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:38:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518896#M40632</guid>
      <dc:creator>AlessandroCinnirella</dc:creator>
      <dc:date>2021-12-11T22:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Python - ArcGIS 10 Desktop Symbology - Label Color = Unique Values Symbology Colo</title>
      <link>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518897#M40633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;arcpy.ApplySymbologyFromLayer is very similar to arcpy.mapping.UpdateLayer (with more options than just symbology).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As mentioned above, you still need to author a layer file ahead of time - there is no way to automate the symbology changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 13:33:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518897#M40633</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2011-10-06T13:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python - ArcGIS 10 Desktop Symbology - Label Color = Unique Values Symbology Colo</title>
      <link>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518898#M40634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So finally it is possible to achieve this using VBA (that means to install VBA and get an authorization file from Esri).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then the piece of code mentioned above in the first post works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm a bit worried that Esri replace VBA by Python if the Python Library is not at least at the same level of completion than the VBA one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 02:51:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcgis-10-desktop-symbology-label-color/m-p/518898#M40634</guid>
      <dc:creator>SchoppMatthieu</dc:creator>
      <dc:date>2011-10-13T02:51:55Z</dc:date>
    </item>
  </channel>
</rss>

