laptop and a wrench

Bug

The onMouseClicked method does not capture the z-values of 3D BIM data buildings in ArcGIS AppStudio.

ArcGIS AppStudio
Bug-ID-Nummer BUG-000160232
EingereichtJuly 27, 2023
Zuletzt geändertAugust 16, 2024
Gilt fürArcGIS AppStudio
Gefunden in Version5.5
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusAs Designed

Zusätzliche Informationen

To capture the Z value, use the SceneView.screenToLocation (x, y) method and the onScreenToLocationCompleted event handler instead. SceneView { id: sceneView anchors.fill: parent onMouseClicked: { var location = sceneView.screenToLocation(mouse.x, mouse.y); } onScreenToLocationCompleted: { var hasZValue = location.hasZ; var zValue = location.z; } // Other scene view code... ) API References: - string screenToLocation(double screenX, double screenY) | https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-sceneview.html#screenToLocation-method - screenToLocationCompleted(Point location) | https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-sceneview.html#screenToLocationCompleted-signal

Schritte zur Reproduzierung

Bug-ID: BUG-000160232

Software:

  • ArcGIS AppStudio

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln