laptop and a wrench

漏洞

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

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM011799
已提交September 18, 2007
上次修改时间April 2, 2025
适用范围No Product Found
找到的版本9.2
状态Will Not Be Addressed

附加信息

No Public Explanation

解决办法

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

重现步骤

漏洞 ID: NIM011799

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项