Jump to content
Sign in to follow this  
jplay

Check if Terrain Model has pyramids or data sources using ArcPy/Python?

Recommended Posts

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 by jplay

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.