<?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: Need to get to the Layout Legend objects, such as swatches and label properties. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/need-to-get-to-the-layout-legend-objects-such-as/m-p/147687#M11468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Miguel,&lt;/P&gt;&lt;P&gt;just by looking at the &lt;A href="http://resources.arcgis.com/de/help/main/10.1/index.html#//00s300000041000000"&gt;documentation &lt;/A&gt;it seems possible to me. Did you try to dive deeper into the elements in the returned list?&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jan 2015 13:34:11 GMT</pubDate>
    <dc:creator>PhilippeRieffel1</dc:creator>
    <dc:date>2015-01-13T13:34:11Z</dc:date>
    <item>
      <title>Need to get to the Layout Legend objects, such as swatches and label properties.</title>
      <link>https://community.esri.com/t5/python-questions/need-to-get-to-the-layout-legend-objects-such-as/m-p/147686#M11467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings List.&amp;nbsp; I would like to be able to access the legend elements on a layout document in order to check the dimensions of the swatches and the font, font size, style, and similar properties of the legend elements.&amp;nbsp; Does anyone know if this is possible through Arcpy.mapping?&lt;/P&gt;&lt;P&gt;I have looked at &lt;STRONG&gt;ListLayoutElements&lt;/STRONG&gt;, with LEGEND_ELEMENT as the element_type, but that only returns a list of the names of the layers in the legend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a feeling that the object model for Arcpy.mapping is not granular enough to obtain the information I need.&amp;nbsp; Is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help, suggestions, advice would be greatly and gratefully appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 10:24:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/need-to-get-to-the-layout-legend-objects-such-as/m-p/147686#M11467</guid>
      <dc:creator>MiguelParedes</dc:creator>
      <dc:date>2015-01-13T10:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get to the Layout Legend objects, such as swatches and label properties.</title>
      <link>https://community.esri.com/t5/python-questions/need-to-get-to-the-layout-legend-objects-such-as/m-p/147687#M11468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Miguel,&lt;/P&gt;&lt;P&gt;just by looking at the &lt;A href="http://resources.arcgis.com/de/help/main/10.1/index.html#//00s300000041000000"&gt;documentation &lt;/A&gt;it seems possible to me. Did you try to dive deeper into the elements in the returned list?&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 13:34:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/need-to-get-to-the-layout-legend-objects-such-as/m-p/147687#M11468</guid>
      <dc:creator>PhilippeRieffel1</dc:creator>
      <dc:date>2015-01-13T13:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get to the Layout Legend objects, such as swatches and label properties.</title>
      <link>https://community.esri.com/t5/python-questions/need-to-get-to-the-layout-legend-objects-such-as/m-p/147688#M11469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The documentation does seem to support this, there are no objects for each individual legend item, but just a name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try to parse the XML's that are created when exporting an MXD to an MSD as documented in this post:&lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.stackexchange.com/questions/27807/creating-summary-table-of-symbology-of-all-datasets-in-multiple-mxds" title="http://gis.stackexchange.com/questions/27807/creating-summary-table-of-symbology-of-all-datasets-in-multiple-mxds"&gt;arcgis desktop - Creating summary table of symbology of all datasets in multiple MXDs? - Geographic Information Systems …&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 19:08:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/need-to-get-to-the-layout-legend-objects-such-as/m-p/147688#M11469</guid>
      <dc:creator>DavidBlanchard</dc:creator>
      <dc:date>2015-01-14T19:08:14Z</dc:date>
    </item>
  </channel>
</rss>

