reversing links

Nooby here needs to reverse 1:1 links between two modules. Using DOORS v9.02.

Old forum threads recommend either 1. exporting out to excel then back in, or 2. using "link_ed" dxl tool. Must be an easier way - worried about loss of text in excel processing and (after some de-bugging) cannot get how the damn link_ed tool to do anything useful.

Also tried setting up dxf link as attributes for both modules and attempting Link/Advanced/LinkByAttribute DOORS facility but always results in 0 links copied.

Any ideas most gratefully recieved !
feck - Tue Sep 07 12:09:03 EDT 2010

Re: reversing links
SystemAdmin - Tue Sep 07 12:26:59 EDT 2010

The easy way, almost everything from built in menus but with quite a few steps...

1. Use Analysis wizard to show the absolute number from the other end of the links (make sure you are selecting a specific link module and formal module so you only get one linkset.
2. Convert layout dxl to attribute dxl
3. Create text attribute 'linkto'
3. Use a simple script (more later) to make this into a text attribute
4. Use link by attribute to make links in other direction.

simple script goes something along the lines of

Module m=current
Object o
for o in m do
{
o."linkto" = o."dxl for column"
}

As with all dxl that you are unsure of, test this on a sandbox module first
replace the attribute names in the script with the real ones that you have in your module.

Re: reversing links
feck - Thu Sep 09 05:40:04 EDT 2010

SystemAdmin - Tue Sep 07 12:26:59 EDT 2010
The easy way, almost everything from built in menus but with quite a few steps...

1. Use Analysis wizard to show the absolute number from the other end of the links (make sure you are selecting a specific link module and formal module so you only get one linkset.
2. Convert layout dxl to attribute dxl
3. Create text attribute 'linkto'
3. Use a simple script (more later) to make this into a text attribute
4. Use link by attribute to make links in other direction.

simple script goes something along the lines of

Module m=current
Object o
for o in m do
{
o."linkto" = o."dxl for column"
}

As with all dxl that you are unsure of, test this on a sandbox module first
replace the attribute names in the script with the real ones that you have in your module.

Your solution works splendidly well - big thanks, I am owing you a beer for that :-)