Author Topic: Deleting Images > 1 from the Image Manager  (Read 2876 times)

jfzouain

  • EA User
  • **
  • Posts: 151
  • Karma: +6/-1
    • View Profile
Deleting Images > 1 from the Image Manager
« on: January 09, 2013, 02:15:44 am »
Hi
When you select Appearance -> Select Alterante Image or Ctrl+Shift+ W on a Diagram element you get the Image Manager.

This Image Manager has more than 500 images and need to delete arround 400 of those and I don't see how to to delete more than one from here. Is there any command or script taht I can use to do this.

Thanks in advance
Best regards

Jose Zouain

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Deleting Images > 1 from the Image Manager
« Reply #1 on: January 09, 2013, 03:34:52 am »
You can try this:
  • Export the images from the reference data
  • Delete the contents of table t_image
  • Delete the unwanted from the export/move the wanted to a different XML
  • Re-import the reference data
Alternatively:
Code: [Select]
Repository.Execute("DELETE FROM t_image WHERE ...")if you can formulate a reasonable WHERE clause.

q.

jfzouain

  • EA User
  • **
  • Posts: 151
  • Karma: +6/-1
    • View Profile
Re: Deleting Images > 1 from the Image Manager
« Reply #2 on: January 12, 2013, 02:07:56 am »
Thanks Q. worked perfect.
Best regards

Jose Zouain