<?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 Adding new labelClass for layer in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/adding-new-labelclass-for-layer/m-p/287001#M22186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any way to add new labelClass for layer in python?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.labelCasses ruturns python list of labelClasses, but how create new instance of labelCalss?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to make a copy of existing class, make some changes (className, expresion etc.) and append to layer.labelClasses, but it doesn't work (instead of append it overwrites copied class). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also tried to create new list of classes and replace oryginal list with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.labelClasses = new_list&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But as a resulst layer.labelClasses was empty list (new_list wasn't)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2011 12:27:38 GMT</pubDate>
    <dc:creator>ArkadiuszMatoszka</dc:creator>
    <dc:date>2011-07-08T12:27:38Z</dc:date>
    <item>
      <title>Adding new labelClass for layer</title>
      <link>https://community.esri.com/t5/python-questions/adding-new-labelclass-for-layer/m-p/287001#M22186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any way to add new labelClass for layer in python?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.labelCasses ruturns python list of labelClasses, but how create new instance of labelCalss?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to make a copy of existing class, make some changes (className, expresion etc.) and append to layer.labelClasses, but it doesn't work (instead of append it overwrites copied class). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also tried to create new list of classes and replace oryginal list with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.labelClasses = new_list&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But as a resulst layer.labelClasses was empty list (new_list wasn't)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 12:27:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-new-labelclass-for-layer/m-p/287001#M22186</guid>
      <dc:creator>ArkadiuszMatoszka</dc:creator>
      <dc:date>2011-07-08T12:27:38Z</dc:date>
    </item>
  </channel>
</rss>

