GetPyramidLevelCount Method
Gets the number of pyramid levels in this terrain. Also see
GetPyramidLevels. This method must be called on the MCT. Use QueuedTask.Run.
public int GetPyramidLevelCount()
Public Function GetPyramidLevelCount() As Integer
Return Value
The number of pyramid levels in this terrain.
Get Pyramid Level Information from a Terrain
var levelCount = terrain.GetPyramidLevelCount();
IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TerrainPyramidLevel> pyramidLevels = terrain.GetPyramidLevels();
foreach (var pyramidLevel in pyramidLevels)
{
var resolution = pyramidLevel.Resolution;
var maxScale = pyramidLevel.MaximumScale;
}
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3.2 or higher.