Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Replicating DOORS 7 Modules in 5.2
Topic Summary:
Created On: 24-Oct-2003 11:45
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 24-Oct-2003 11:45
User is offline View Users Profile Print this message


David Mellors

Posts: 5
Joined: 4-Sep-2003

Multiple projects, multiple organisations, multiple Versions. I guess we've all heard this one before.

We all know that DOORS products are not backwards compatible, but is there a way of getting around this?

For instance, Lets say i have a DOORS 7 module with absolute numbers that are not in sequence, and my customer wants to continue to be sent modules in 5.2.

Lets say i have a hierarchical structured DOORS 7.0 Module with Non Sequential Absolute numbers up to ID 5000 (Not all objects numbers are used due to deletions etc..)

By maintaining both versions of DOORS is it possible to:

1) Create a repository "Bucket Module" in DOORS 5.2 with 5000 empty objects (Probably using the Import from a Spreadsheet function.)
2) Export the Doors 7.0 module into Excel and save as a CSV file.
3) Import the Doors 7.0 generated CSV file into the "Bucket Module"
4) Resequence/relevel and delete the non used ID Objects. by a combination of a Sequence Attribute (Generated in Excel ?, DXL?) and the Object Level/Object Number Attributes generated by the DOORS 7.0 module.

In Theory the solution seems sound, but i cannot seem to get my head around how to get the tool to Resequence the module and recreate the hieracrchy based upon the Object Level and/or Object Number Attributes.

Does anyone have any idea about the best way forward with this?, as i am sure that it is not just me scratching my head over this issue.

I am not worried about reimporting the history or using the Multiple OLE's in DOORS 7.0 object functionality, i just need to recreate a copy of the current data at the same Absolute Number and Module Sructure.
Report this to a Moderator Report this to a Moderator
 27-Oct-2003 03:00
User is offline View Users Profile Print this message


Steven Gibson

Posts: 2
Joined: 2-Sep-2003

Agree this is a workable approach. The attached DXL code re-creates a hierarchy from a flat structure based on a heading level attribute and relative object positions. This could be adapted to work with an exported object level.

Steve
Report this to a Moderator Report this to a Moderator
 27-Oct-2003 11:51
User is offline View Users Profile Print this message


David Mellors

Posts: 5
Joined: 4-Sep-2003

Steve,

Thanks Very much for the Utility, that solves part of the problem, although i still have the problem to resequence the Objects so that the Absolute ID's sequence matches the Sequence that i have in DOORS 7.0. (I.e. Catering for the movements within the master Module)

Any Ideas?

Dave
Report this to a Moderator Report this to a Moderator
 28-Oct-2003 23:47
User is offline View Users Profile Print this message


Paul Miller

Posts: 376
Joined: 2-Oct-2002

The "Object Number" attribute presents the hierarchical index position of every object - it's kind of like a paragraph number.

The "Object Number" value would need to be copied over as a string value to a custom defined attribute, lets say "Obj Num".

"Obj Num" would need to be included in the csv export.

As you have already mentioned, by creating placeholder objects in the target module that cover the range of absolute numbers used in the source module, the csv file can be imported and merged so that objects from the source module will have the same absolute numbers in the target module.

A DXL script would then need to be applied to the imported data which reads the "Obj Num" attribute and uses this as the map to re-order all of the objects accordingly and perhaps delete objects with absolute numbers that are not used (ie: objects that were deleted in the source module).

Sounds easy, but I suspect the ordering alogorithm will require some care as you will have to search and parse the "Obj Num" string of each object to locate the next highest positioned object starting from object number position "1" downwards and then effectively use cut-n-paste type operations to move objects around.

If this nut is successfully cracked with DXL - would be nice if the DXL script could be posted on this thread.



-------------------------
Paul Miller
Specification Practices Specialist,
EuroCyber,
Melbourne, Australia.
Mobile: +61 (0)418 135 103
Web Site: http://www.eurocyber.biz
E-mail: miller@eurocyber.biz">pmiller@eurocyber.biz
Report this to a Moderator Report this to a Moderator
 29-Oct-2003 09:32
User is offline View Users Profile Print this message


David Mellors

Posts: 5
Joined: 4-Sep-2003

Attached is a Procedure, with DXL that appears to work, although its a bit crude.

It uses 2 bits of DXL that Reorders the new module based upon a Sort on a Sequence Attribute generated in the Excel CSV file, and then re build the hierarchy based upon an imported Object Level (HeadingLvl) Attribute (thanks to To Steven Gibson for this one).

If anyone has any methods of hanging it together that would great.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.