I have a script that exports and renames photo attachments from an sde feature class. I need to delete the existing attachments each time the script runs, but I can't get it to work. I've tried arcpy.RemoveAttachments_management and del Attachment, but they persist.