Book a Demo

Author Topic: Delete tagged values on many elements  (Read 4507 times)

Boron

  • EA User
  • **
  • Posts: 111
  • Karma: +6/-0
    • View Profile
Delete tagged values on many elements
« on: July 22, 2011, 04:50:48 pm »
Hello,
in our model we have over 6000 elements (classes and ports) where each has a tagged value name "CA_version".
As we don't need that tagged value any more I wonder how I can delete all these tags without doing it manually (selecting the tag in the tagged value window and clicking on the delete button).

How can thousands of tagged values (identical name) on thousands of elements be deleted?
By directly manipulating the database?
Other idea?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Delete tagged values on many elements
« Reply #1 on: July 22, 2011, 05:26:47 pm »
Boron,

The easiest way would indeed be to delete them from the database directly, but there is of course a risk involved.
Safer would be to write a script using the API to delete the tagged values.

Geert