With some minor change I guess you can just use the tool Add Attachments—Help | ArcGIS Desktop without the need for scripting.
Membros conectados podem publicar, acompanhar atualizações e muito mais. É novo por aqui? Crie uma conta grátis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.