![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Change Link direction Topic Summary: Created On: 25-Jan-2005 11:54 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: I have fixed the script to work for links between objects in the same module. | |
![]() |
|
Hi,
Is there a DXL, or easy way to change the direction of all links in a specific linkset. Someone linked in the wrong direction and it would be a lot of work to delete and add all the links in the right direction. Thanks Samuel ------------------------- Samuel Cronje EW Systems Engineer Grintek Avitronics Centurion South Africa |
|
![]() |
|
![]() |
|
Try the attached.
WARNING: I tested the script and it does not work for links between objects in the same module. It deletes and creates links inside a for l in o loop - this is a definite no-no. These get deleted, so I have removed the script. ------------------------- Tony Goodman http://www.smartdxl.com Edited: 26-Jan-2005 at 09:04 by Tony Goodman |
|
![]() |
|
![]() |
|
Hi,
Thanks for the DXL Tony, but the one thing that i wanted to do seems to be a problem. I forgot to say that it is an "internal" link. In other words objects within the same module is linked. (we have generic recources defined in a module, when a new "implementation" happens, we create new signal names but link them to the original generic, using filter to get to each implemetation but not loosing the link to the original). Anyway, your dxl assumes incoming or outgoing but this does not matter. The only thing that i can specify in this case is the specific linkset (in this case the link module only has this one linkset in it). If you, or someone can help with this i would greatly appreciate it. Samuel ------------------------- Samuel Cronje EW Systems Engineer Grintek Avitronics Centurion South Africa |
|
![]() |
|
![]() |
|
I have fixed the script to work for links between objects in the same module.
------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Hi Tony
------------------------- Samuel Cronje EW Systems Engineer Grintek Avitronics Centurion South Africa |
|
![]() |
|
![]() |
|
Hi Tony
Thanks for the DXL, it works great:-) You saved me a lot of work! Cheers Samuel ------------------------- Samuel Cronje EW Systems Engineer Grintek Avitronics Centurion South Africa Edited: 26-Jan-2005 at 10:51 by Samuel Cronje |
|
![]() |
|
![]() |
|
Awesome! This is exactly what I needed. Thanks for posting this!
Update: I added some functionality. You can now select to apply to current object, current with children, display set, or all objects. ------------------------- Shawn Stepper shawn.e.stepper@wellsfargo.com Edited: 14-Jun-2005 at 23:40 by Shawn Stepper |
|
![]() |
|
![]() |
|
Sorry to through a bit of water on the fire, but I think a note of caution is needed here. Reversing links, swapping links between link modules etc makes a very substantial change to the database and involves 3 modules, under certain circumstances the modules can sometimes get out of whack and when they do you can be in serious trouble.
Running a tool similar to this once caused 100+ modules to become corrupted at the company I work for, tools like this are relativley safe to run if you are the only person in the database, but not if other people are referencing the relevant link modules may have the target modules open etc. We had ghost link modules, loads of modules that wouldn't open, the works really, wasn't much fun. The problem was also reasonably recreatable, if I remember correctly unloading the linkset in the link module after using it seemed to solve the problem, but I still took the tool out of the company set and only run it myself on request when no one else is on the database, doing anything else was just to risky. ------------------------- Regards, Richard Good |
|
![]() |
|
![]() |
|
Absolutely, Richard.
These sort of tools are for getting out of trouble in an emergency, not for light-hearted use. I agree that running tools like this should only be done when no-one else is working. Also, the database/project/module should be backed-up/archived before you start! ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Change Link direction
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.