![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Creating links after parsing a traceability matrix on file Topic Summary: Created On: 30-Apr-2007 16:57 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|||
I am an absolute beginner on this forum and I don't know much about DXL...
What I am trying to do is to create (more or less automatically ) links between objects contained in different formal modules.
In my system there are already two formal modules (each of them contain requirements objects) and an empty link module containing the allowed linksets between the two formal modules.
Each requirement/object is uniquely identified by an attribute (Requirement ID).
A text file contains a list of pairings representing the start Requirement ID and the destination Requirement ID.
What I need is a dxl procedure which can parse the text file a create the corresponding links.
Before creating my own code from scratch I would like to ask if anyone of you has a fragment of code I could start working on.
I hope my post is not too muddled
![]() |
|||
![]() |
|||
![]() |
|||
Without knowing the formats of your text files, an exact response is hard to give, but here is a start without using any DXL:
- if the text file containing the ID's from two modules is in comma or tabulator separated format, you can import (Import / Spreadsheet) that to to one of the modules and use one of the columns in the text file as a unique identifier - the import will create a new attribute of the second column in the text file, which will now contain the ID's for the second module - if the ID's have a prefix (e.g. XXX100), you should delete the prefixes for the attribute by using the Edit / Replace - now you should have in one module an attribute which contains the Absolute Numbers of another module and in this kind of situation you can use the DOORS Link by attribute tool (which is found in Link menu), for more info on this search the DOORS help for Link by attribute ------------------------- Pekka.Makinen@softqa.fi SoftQA Oy -http://www.softqa.fi/ |
|||
![]() |
|||
![]() |
|||
Thanks a lot Pekka.
I will try to do what you suggested.
Andrea
|
|||
![]() |
|||
![]() |
|||
You can find attached the DXL code I produced for the purpuse I described above.
I modified a sample program for making links and I added to it the Mini Explorer.
My ability in programming DXL is probably crude and inefficient but this little "toy" works.
![]()
|
|||
![]() |
|||
![]() |
|||
I am wondering why everytime I post a message every "new line/new paragraph" I type is lost...
|
|||
![]() |
|||
![]() |
|||
I thought it was something to do with quick reply, but I just tested this and that was no the case :-(
------------------------- Tony Goodman http://www.smartdxl.com Edited: 7-Jun-2007 at 16:33 by Tony Goodman |
|||
![]() |
|||
![]() |
|||
quote: Mystery solved... When I use Mozilla Firefox my posts, here, are one one line, since "new lines" are lost. When I use Internet Explorer the message is displayed properly. Andrea |
|||
![]() |
|||
![]() |
|||
Just so you know, DOORS comes with tools like this. The LinkByKey.dxl or LinkByPair.dxl files would have done this.
They're found in C:\Program Files\Telelogic\DOORS_8.1\lib\dxl\example. ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|||
![]() |
|||
![]() |
|||
Thanks David!
I will have a look to those tools too. The reason why I made my small DXL program is that I needed a way to link DOORS objects, belonging to different modules, according to information stored on a file (for instance a CSV file) and I was not able to find this functionality already available. Or maybe I didn't check carefully... Andrea |
|||
![]() |
|||
![]() |
|||
No what you wrote is different from those, they're just similiar. I've looked at your code and for someone who claims to be a newbie at DXL, its pretty impressive. I've been doing almost nothing but DXL for the past 7 months and even I haven't messed with tree views yet. Just haven't had the need to use them.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|||
![]() |
|||
![]() |
|||
quote: Thanks for your compliments but I didn't do anything extraordinary. ![]() I simply started from "linkbypairs.dxl" (Yes! Exactly the one you mentioned! I almost forgot it was that one), I modified it a bit and I added to it the Mini Explorer. Most of the code was written by someone else. ![]() |
|||
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.