<?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: 4.24 Geometry($feature).z in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-24-geometry-feature-z/m-p/1224984#M79105</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/527995"&gt;@Wade&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reaching out! Just from looking at the code I cannot find any mistakes, and also the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/scene-elevationinfo/" target="_self"&gt;sample&lt;/A&gt; we provide still seems to work.&lt;/P&gt;&lt;P&gt;So could you maybe provide us with a working codepen example where the problem is visible? Maybe the issue here is not the Arcade expression but something else, so I would be happy to help you debug. It could be that the layer does not have any z-values stored for example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2022 23:40:39 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2022-10-24T23:40:39Z</dc:date>
    <item>
      <title>4.24 Geometry($feature).z</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-24-geometry-feature-z/m-p/1224496#M79091</link>
      <description>&lt;P&gt;The current version doesn't seem to work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;sceneView.on('layerview-create', function (event) {
            const mLayer = webScene.allLayers.filter((elem) =&amp;gt; {
                return elem.title === "TEST LAYER";
            }).items[0];

            const currentElevationInfo = {
                mode: "absolute-height",
                offset: 0,
                featureExpressionInfo: {
                    expression: "Geometry($feature).z * 100"
                },
                unit: "meters"
            };

            mLayer.elevationInfo = currentElevationInfo;
        }
    });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 04:02:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-24-geometry-feature-z/m-p/1224496#M79091</guid>
      <dc:creator>Wade</dc:creator>
      <dc:date>2022-10-24T04:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: 4.24 Geometry($feature).z</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-24-geometry-feature-z/m-p/1224984#M79105</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/527995"&gt;@Wade&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reaching out! Just from looking at the code I cannot find any mistakes, and also the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/scene-elevationinfo/" target="_self"&gt;sample&lt;/A&gt; we provide still seems to work.&lt;/P&gt;&lt;P&gt;So could you maybe provide us with a working codepen example where the problem is visible? Maybe the issue here is not the Arcade expression but something else, so I would be happy to help you debug. It could be that the layer does not have any z-values stored for example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 23:40:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-24-geometry-feature-z/m-p/1224984#M79105</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-10-24T23:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: 4.24 Geometry($feature).z</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-24-geometry-feature-z/m-p/1225004#M79107</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous User&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, I found the possible reason, it should be the reason for publishing the service, 3d to multipatch.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 00:20:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-24-geometry-feature-z/m-p/1225004#M79107</guid>
      <dc:creator>Wade</dc:creator>
      <dc:date>2022-10-25T00:20:50Z</dc:date>
    </item>
  </channel>
</rss>

