jplay Posted May 27, 2015 Report Share Posted May 27, 2015 (edited) I've written a arcpy script that creates terrain datasets from LiDAR. After 18 hours it bombed. Instead of starting the entire process over again, I want the script to pick up where is failed. How do I check, with arcpy/python, if a Terrain Dataset has pyramids? If it does, then how do I check if the Terrain Dataset has data sources already added to build the terrain? Basically, how do I access the Terrain Model Properties to check for... anything really... so that I can verify that they exist or not? This is a fairly simple process for just about every other kind of feature using code like Exists or Describe, but I have been unable to find any documentation on how to do this with a Terrain Dataset. Suggestions? Edited May 28, 2015 by jplay Quote Link to comment Share on other sites More sharing options...
jplay Posted May 28, 2015 Author Report Share Posted May 28, 2015 The more I scour the web for a solution to this problem, the more I'm beginning to believe that this will not be solved with python alone but with the comtypes module and ArcObjects. I know nothing about either. If someone knows a good learning source, I'd appreciate it. Esri's ArcObjects Resource Center is not very helpful. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.