<?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 CIM.FeatureElevationExpression not carrying over in Layer to KML in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/cim-featureelevationexpression-not-carrying-over/m-p/1334614#M73649</link>
    <description>&lt;P&gt;I have a script that updates the elevation property for all the Feature Classes.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;m = p.listMaps('Map1')[0]
l = m.listLayers()[0]
l_cim = l.getDefinition('V2')
for l in m.listLayers():
    l_cim = l.getDefinition('V2')
# Set the layer elevation to relative to ground based on Z values
    l_cim.featureElevationExpression="$feature.Max Alt_FT_AGL"
#Push the changes back to the layer
    l.setDefinition(l_cim)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I do layer to KML (&lt;SPAN&gt;uncheck Clamped features to ground&lt;/SPAN&gt;) for single feature classes the elevation transfers over to Google Earth. When I group the layers (and make no changes) and then layer to KML the group (uncheck Clamped features to ground), I lose the elevation.&lt;/P&gt;&lt;P&gt;Is there a fix for this?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2023 16:47:19 GMT</pubDate>
    <dc:creator>Davec43</dc:creator>
    <dc:date>2023-10-03T16:47:19Z</dc:date>
    <item>
      <title>CIM.FeatureElevationExpression not carrying over in Layer to KML</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cim-featureelevationexpression-not-carrying-over/m-p/1334614#M73649</link>
      <description>&lt;P&gt;I have a script that updates the elevation property for all the Feature Classes.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;m = p.listMaps('Map1')[0]
l = m.listLayers()[0]
l_cim = l.getDefinition('V2')
for l in m.listLayers():
    l_cim = l.getDefinition('V2')
# Set the layer elevation to relative to ground based on Z values
    l_cim.featureElevationExpression="$feature.Max Alt_FT_AGL"
#Push the changes back to the layer
    l.setDefinition(l_cim)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I do layer to KML (&lt;SPAN&gt;uncheck Clamped features to ground&lt;/SPAN&gt;) for single feature classes the elevation transfers over to Google Earth. When I group the layers (and make no changes) and then layer to KML the group (uncheck Clamped features to ground), I lose the elevation.&lt;/P&gt;&lt;P&gt;Is there a fix for this?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 16:47:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cim-featureelevationexpression-not-carrying-over/m-p/1334614#M73649</guid>
      <dc:creator>Davec43</dc:creator>
      <dc:date>2023-10-03T16:47:19Z</dc:date>
    </item>
  </channel>
</rss>

