Select to view content in your preferred language

Extract Feature Attachments

21185
32
10-24-2013 01:13 AM
Ranga_Tolapi
Frequent Contributor
"Feature attachments" is the new feature from ArcGIS 10 on wards. How to extract feature attachments and save to disk using Python?
Tags (2)
0 Kudos
32 Replies
TrilliumLevine1
Deactivated User

Hi Xander,

Thanks for looking.  We're running 10.0 right now, so it would be nice...but we're upgrading shortly to 10.2, so it's really not a big deal.  No worries

Trill

0 Kudos
XanderBakker
Esri Esteemed Contributor

Good luck with the migration and hopefully it will be soon. With the data access module that was release at 10.1 SP1, a lot of nice possibilities have become available.

0 Kudos
DougBrowning
MVP Esteemed Contributor

I use this script a lot. 

Anyone  know a way to add in EXIF info to the Comment before I write it out using 

open(baseOut + os.sep + fileName, 'wb').write(binaryRep.tobytes())

I am also looking at adding it after the fact but figured this would be easier.  Thanks

0 Kudos