<?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 Apply symbology from layer does not take dataframes into consideration in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/apply-symbology-from-layer-does-not-take/m-p/646018#M7054</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use arcpy.ApplySymbologyFromLayer_management. i have 2 dataframes in my mxd and preauthored .lyr files which I am not loading into my session, but only referring to when I want to apply the symbology.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I shift to the dataframe of interest using&amp;nbsp;mxd.activeView = df. However when I attempt to run arcpy.ApplySymbologyFromLayer it will not change the symbology of the layers in my secondary dataframe(s). It only changes the symbology in my primary dataframe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I have noticed that there is no argument in arcpy.ApplySymbologyFromLayer which indicates what dataframe it is to operate on. Is this a bug in arcpy which would render arcpy.ApplySymbologyFromLayer obsolete for map documents with multiple dataframes or am I doing something wrong in my script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Nov 2018 12:39:23 GMT</pubDate>
    <dc:creator>TheWorm</dc:creator>
    <dc:date>2018-11-24T12:39:23Z</dc:date>
    <item>
      <title>Apply symbology from layer does not take dataframes into consideration</title>
      <link>https://community.esri.com/t5/mapping-questions/apply-symbology-from-layer-does-not-take/m-p/646018#M7054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use arcpy.ApplySymbologyFromLayer_management. i have 2 dataframes in my mxd and preauthored .lyr files which I am not loading into my session, but only referring to when I want to apply the symbology.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I shift to the dataframe of interest using&amp;nbsp;mxd.activeView = df. However when I attempt to run arcpy.ApplySymbologyFromLayer it will not change the symbology of the layers in my secondary dataframe(s). It only changes the symbology in my primary dataframe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I have noticed that there is no argument in arcpy.ApplySymbologyFromLayer which indicates what dataframe it is to operate on. Is this a bug in arcpy which would render arcpy.ApplySymbologyFromLayer obsolete for map documents with multiple dataframes or am I doing something wrong in my script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2018 12:39:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/apply-symbology-from-layer-does-not-take/m-p/646018#M7054</guid>
      <dc:creator>TheWorm</dc:creator>
      <dc:date>2018-11-24T12:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Apply symbology from layer does not take dataframes into consideration</title>
      <link>https://community.esri.com/t5/mapping-questions/apply-symbology-from-layer-does-not-take/m-p/646019#M7055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;arcpy.RefreshActiveView()&lt;/P&gt;&lt;P&gt;Does it help?&amp;nbsp; Nothing is refreshed automatically in ArcMap, this behaviour has changed in ArcGIS Pro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2018 15:06:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/apply-symbology-from-layer-does-not-take/m-p/646019#M7055</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-11-24T15:06:41Z</dc:date>
    </item>
  </channel>
</rss>

