laptop and a wrench

Error

Enhance the DESCRIBE gp object to allow retrieval of max and min z values from a raster or tin/terrain.

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM011799
EnviadoSeptember 18, 2007
Última modificaciónApril 2, 2025
Relacionado conNo Product Found
Versión encontrada9.2
EstadoWill Not Be Addressed

Información adicional

No Public Explanation

Solución alternativa

The following VBA code will pull the z max and min from a tin and output to a msg box.---------------------------------------------------------------------------------------------------------------------------------------Dim pMxDoc As IMxDocumentDim pMap As IMapPrivate Sub GetTinZ() Dim pTinLayer As ITinLayer Dim maxZ As Double Dim minZ As Double Set pMxDoc = ThisDocument Set pMap = pMxDoc.FocusMap Set pTinLayer = pMap.Layer(0) ‘First layer in the map is the TIN Set pTin = pTinLayer.Dataset maxZ = pTinLayer.Dataset.Extent.ZMax minZ = pTinLayer.Dataset.Extent.ZMin MsgBox maxZ MsgBox minZEnd Sub

Pasos para reproducir

ID del error: NIM011799

Software:

  • No Product Found

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