laptop and a wrench

Bug

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

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM011799
SubmittedSeptember 18, 2007
Last ModifiedApril 2, 2025
Applies toNo Product Found
Version found9.2
StatusWill Not Be Addressed

Additional Information

No Public Explanation

Workaround

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

Steps to Reproduce

Bug ID: NIM011799

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options