Select to view content in your preferred language

Using arcpy to read the "Pyramid Levels" property in a Terrain Dataset

267
0
01-25-2023 09:51 AM
AustenCutrell2
Emerging Contributor

Hello Everyone, 

I am reaching out to see if anyone knows of a way to use arcpy read the pyramid level properties of a Terrain Dataset. I would like to be able to obtain a list of Z-Tolerance pyramid levels from a user defined Terrain Dataset. Reading the documentation and exploring the arcpy.Describe function, there does not appear to be a Describe object property, dataset property, or any other specific geodatabase or feature dataset property that reads the "Pyramid Level" properties within a Terrain Dataset. I would think there is a way to do this since other tools within the ArcPro GUI such as "Terrain to Points", clearly have tool validation code that reads these pyramid levels. However, I cannot find a way to accomplish this in my own scritpt tool I am creating. 

AustenCutrell2_0-1674668507392.png

I have found a similar post raising this question from 2015, but no solution was ever mentioned. https://community.esri.com/t5/python-questions/how-do-i-check-with-python-if-a-terrain-model-has/m-p...

I would really appreciate the communities insight on this. 

Cheers, 

Austen

0 Kudos
0 Replies