Skip to content

Instantly share code, notes, and snippets.

@tjmichael81
tjmichael81 / gist:7982540
Created December 16, 2013 05:00
Export Esri geodatabase feature attachments with Python
def main():
pass
import arcpy
import os
#Script Variables
sourceAttachmentTable = r'C:\TEMP\Database.gdb\AttachmentTable__ATTACH'
targetOutputFolder = r'C:\TEMP\AttachmentExport'
filePathAttribute = 'FILE_PATH'