laptop and a wrench

Error

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

ArcGIS AppStudio
Número de ID del error BUG-000160232
EnviadoJuly 27, 2023
Última modificaciónAugust 16, 2024
Relacionado conArcGIS AppStudio
Versión encontrada5.5
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoAs Designed

Información adicional

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

Pasos para reproducir

ID del error: BUG-000160232

Software:

  • ArcGIS AppStudio

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga