<?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: Documented differences between .lyrx file and .aprx layer properties? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/documented-differences-between-lyrx-file-and-aprx/m-p/1411234#M70365</link>
    <description>&lt;P&gt;presumably you have seen the classes in mapping and associated links in the help files&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/alphabeticallistofclasses.htm" target="_blank"&gt;Alphabetical list of arcpy.mp classes—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2024 21:04:07 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2024-04-17T21:04:07Z</dc:date>
    <item>
      <title>Documented differences between .lyrx file and .aprx layer properties?</title>
      <link>https://community.esri.com/t5/python-questions/documented-differences-between-lyrx-file-and-aprx/m-p/1411220#M70364</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are the differences between the writable layer properties in a layer file (.lyrx) and a map layer in an aprx file documented somewhere? I often want to update layers in a project, and what I want to do appears to be supported, but doesn't work on a map layer (and presumably will work on a .lyrx file). Example below where I'd like to disable time on a large number of netcdf files in a map and the two ways I was trying to do so after loading the layer in arcpy from an .aprx file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-17 at 10.28.00 AM.png" style="width: 368px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101283i81F4DE3B2D3AD992/image-dimensions/368x136?v=v2" width="368" height="136" role="button" title="Screenshot 2024-04-17 at 10.28.00 AM.png" alt="Screenshot 2024-04-17 at 10.28.00 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-17 at 10.42.13 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101284iB8B499CD32C24863/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-04-17 at 10.42.13 AM.png" alt="Screenshot 2024-04-17 at 10.42.13 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 20:46:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/documented-differences-between-lyrx-file-and-aprx/m-p/1411220#M70364</guid>
      <dc:creator>gyetman</dc:creator>
      <dc:date>2024-04-17T20:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Documented differences between .lyrx file and .aprx layer properties?</title>
      <link>https://community.esri.com/t5/python-questions/documented-differences-between-lyrx-file-and-aprx/m-p/1411234#M70365</link>
      <description>&lt;P&gt;presumably you have seen the classes in mapping and associated links in the help files&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/alphabeticallistofclasses.htm" target="_blank"&gt;Alphabetical list of arcpy.mp classes—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 21:04:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/documented-differences-between-lyrx-file-and-aprx/m-p/1411234#M70365</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-04-17T21:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Documented differences between .lyrx file and .aprx layer properties?</title>
      <link>https://community.esri.com/t5/python-questions/documented-differences-between-lyrx-file-and-aprx/m-p/1411351#M70369</link>
      <description>&lt;P&gt;Yes, in fact it's part of my confusion. The layer object in the link you posted (thanks!) includes the .disableTime() function, so presumably that method can be called on a layer returned from listLayers() of the project map. When I use the method it does nothing (see the first screenshot) in my original post. I may be missing something obvious.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking closer, I see that the isTimeEnabled property is read-only for layer, it's read/write for MapTime, so my second screenshot shows the expected behavior.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 02:10:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/documented-differences-between-lyrx-file-and-aprx/m-p/1411351#M70369</guid>
      <dc:creator>gyetman</dc:creator>
      <dc:date>2024-04-18T02:10:15Z</dc:date>
    </item>
  </channel>
</rss>

