![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Copy DOORS links between Objects Topic Summary: Copy DOORS links between Objects Created On: 20-Aug-2007 07:26 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Does anyone have any script to copy all or selected links from one object to another within the same module? Also , we may try to copy links from one source object in Module A to another object in module B keeping the destination object the same and asking for choice of link module in this case ? |
|
![]() |
|
![]() |
|
I've done some scripts with moving links, but not for what your looking for. Not that it's not impossible, it actually looks like a fairly simple script.
Basically all you need to do is designate the two source objects, the loop through the links in the original source object, at each link you grab the target module and target object and use that to create a new link in the second source object. Pretty simple. As for the module A and Module B example, the same thing would apply. Asking for a link module is easy by using the miniExplorer, which is discussed in the undocumented DXL functions thread I believe. ------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|
![]() |
|
![]() |
|
Got bored and and had little free time today. Hope this helps:
------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|
![]() |
|
![]() |
|
Thanks a lot for your help .It really helped me a lot. I also tried to add the feature to copy inlinks as well in the same way as you have copied outlinks. I have attached the code here, but somehow it seems to do nothing. I have no clue as to why it does not work. Any help please? |
|
![]() |
|
![]() |
|
Well inlinks are a little tricky. The soul reason is that technically you can only create out links. So what this means is you have to have Exclusive Edit access ot the source module/object. Unlike out links you can not set an object via the "source (l)" command unless the source module is open. So what we have to is first cycle through the link references of the inlinks and open the associated source modules. Once we have done that, we can then cycle through the actual links and "copying" the links to the new object. ****EDIT (8/20/07 11:46am EST)**** ------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com Edited: 21-Aug-2007 at 16:57 by Scott Boisvert |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Copy DOORS links between Objects
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.