![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Delete Outlinks from Current to Previous Baseline Topic Summary: Module comparison wizard creates outlinks. Is there an easy method for deleting these? Created On: 19-Dec-2006 18:50 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Chris, good news and bad: You cannot have links other than the comparison links in the linkset. When you use the module compare wizard, you have to select a link module to use. If you select a module that already contains a matching linkset, you are clearly warned that the existing linkset will be deleted and replaced with comparison links. Therefore, if you had a linkset containing links between objects in the same module, then those links have already been deleted. | |
![]() |
|
I used DOORS 8.1 and decided to use the Module Comparison Wizard to compare the Object Headings and Object Text between the current module and it's previous baseline. The tool works fine and creates a new view that shows all the changes in a newly created column. The problem is, in order to perform this task, links are created for every object in the current module to every object in the previous baseline. Since I only wanted to look at a few differences and I'm now done reviewing them, I'd like to delete all of the now unneeded outlinks that were created between the current objects and their cournterparts in the previous baseline.
Is there an easy way to do this? I've looked at the Help files for DXL, and although there are some lines of code for deleting links, and separate lines of code for printing baseline information, I can't seem to find enough meat from either of these sources to build a simple script that loops through the current module and deletes links to a previous baseline. Help!!! |
|
![]() |
|
![]() |
|
Hi Chris,
When you compared two versions of the mdoule, I guess links would be created from the current version to its older version. The wizard would have asked you to provide the link module. Just go to that link module, identify the linkset which contains the link information and delete it. I hope links would be deleted if you delete the linkset.
Regards
Irfaan
|
|
![]() |
|
![]() |
|
Unfortunately, it grabbed an existing linkset for this purpose. This existing linkset was (and still is) being used for other outgoing links in the module, so to delete the linkset in that fashion would delete a lot of necessary links. I was hoping that a dxl script would handle this, but the examples in the tool aren't clear enough for me. What I know I need to use is a combination of the following bits of code: |
|
![]() |
|
![]() |
|
Has anyone created or found a DXL script where you can actually delete all the compare links when there is an actual Compare link-module that links the current to a Baselined document. I understand you can go to the link and delete it that way, but I have 200+ such links in one module and would like to see if there is a script that does this. The Delete Links out of box that DOORS has only allows you to pick from existing Current modules, not Baselines.
Any thoughts out there?? ------------------------- Brenda Heiss Cornell |
|
![]() |
|
![]() |
|
Chris, good news and bad:
You cannot have links other than the comparison links in the linkset. When you use the module compare wizard, you have to select a link module to use. If you select a module that already contains a matching linkset, you are clearly warned that the existing linkset will be deleted and replaced with comparison links. Therefore, if you had a linkset containing links between objects in the same module, then those links have already been deleted. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
I have a script that compares any attribute between a current version and a previous baseline and filters on the changes. Also can output to an Excel file and use RTF markup to identify changes.
Also have one that will put a DXL column (up to 5) into the current view next to the attribute(s) column you select to show the differences on. If you selected an attribute not in the current view, it adds it to the view at the end. ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
quote: Just write a quick script that goes through the objects and their links, finds ones that link to that baseline, and delete them. You can use target() to find out the object the link goes to. Then use module() to find out the module the object is in. Get a handle to that baseline and see if the handle to the baseline and the module returned by module() match. If so, delete the link. Not totally sure on that logic but thats the general idea. ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
I was hoping someone had one written already. I have very limited knowledge to actually Create DXL scripts, and don't have the time figure out how to create one. I can frequently modify existing scripts but writing from scratch is not something I am not skilled at. It would be quicker for me to actually delete the links individually. So, if anyone can write something real quick for me, it would be much appreciated. thanks.
------------------------- Brenda Heiss Cornell |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.