Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Janos on August 27, 2010, 10:43:30 pm

Title: renumbering requirements
Post by: Janos on August 27, 2010, 10:43:30 pm
Hi, I have a lot of requirements and want to numbering them now. Is there a way to do it automatically. The autonumbering feature is valid for the new requirements if I understand it well. Thanks a lot.
János
Title: Re: renumbering requirements
Post by: beginner on August 27, 2010, 11:39:50 pm
You need to write a script or tweak it via a database SQL.

b.
Title: Re: renumbering requirements
Post by: robert.staflin on September 16, 2010, 04:33:20 pm
Quote
You need to write a script or tweak it via a database SQL.

b.
On the same topic - do you or anybody else have a suitable script or ideas on how to set this up? I've discussed with my colleagues that we need something that not only makes a unique ID on all requirements, but also puts that value e.g. in a tagged value. That way, if a user mistakenly changes or delets the requirement key, it's still available.
Title: Re: renumbering requirements
Post by: Geert Bellekens on September 16, 2010, 04:46:04 pm
Robert,

See here
http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1284577244/1 to find the locations of examples.

If you want to add tagged values as well I would go with a script/addin/program and work with the API.

The excel importer contains a section that adds tagged values, so that could be a good start.

Geert