Author Topic: Auto Name Counters: Any way to renumber retroactiv  (Read 2348 times)

bionaut

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Auto Name Counters: Any way to renumber retroactiv
« on: July 16, 2009, 05:52:54 pm »
Hi
As a newbie in EA I started adding Requirements without Auto Name Counter enabled. Now I want to renumber them all or selectively without re-editing them all one by one.
Is there any way/hack to renumber elements retroactively?
Couldn't find anything in the forum.

Thanks for your help
W.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Auto Name Counters: Any way to renumber retroa
« Reply #1 on: July 17, 2009, 06:21:34 am »
AFAIK you cannot do so retroactively.

[edit]But see Simon's post below for a workable solution if you don't mind a little programming effort.[/edit]
« Last Edit: July 17, 2009, 09:18:52 pm by Midnight »
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8074
  • Karma: +118/-20
    • View Profile
Re: Auto Name Counters: Any way to renumber retroa
« Reply #2 on: July 17, 2009, 02:01:13 pm »
Use automation to iterate over your entire model looking for relevant objects, setting the name and iterating the counter.  (Then update the auto counter to start from where that finished.)

bionaut

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Auto Name Counters: Any way to renumber retroa
« Reply #3 on: July 17, 2009, 06:20:09 pm »
Thank you.
I will check the automation feature later.
I thought of some export/import (CSV?) workaround, but this seems to be more elegant.

greetz
W