![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Merging Modules and Linksets Topic Summary: Need to Merge Modules and Corresponding Linksets Created On: 15-Dec-2005 03:01 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|||||
Hi,
Does anyone have a solution to the following situation? In Directory A, I created linkset A that stores links from Module A to Module B. In Directory B, I created linkset B that stores links from Module C to Module D. How can I do all of the following? a. Merge Module A with Module C b. Merge Module B with Module D c. Merge Linkset A with Linkset B In essence, I need to merge the modules and the linksets so that all the links from before the merge are retained in the newly merged modules. If anyone has a solution, please email at frank_poljanec@phac-aspc.gc.ca or call at (613) 948-2832. Thanks, Frank Poljanec |
|||||
![]() |
|||||
![]() |
|||||
When you "merge" two modules, you cannot preserve the absolute numbers of all the objects.
So, absolute numbers can't be used alone. This also means that trying to preserve history is a little pointless. My approach, which creates new modules and leaves the originals, is as follows: 1. Store the unique id of each target object. create a new string attribute in the target modules, B and D. I called mine "ReqID". Ensure that the modules have a prefix set and that they are different. Set the ReqID attribute to contain the identifier of the object. Save. 2. Save the existing links in an attribute in the source modules, A and C. I used the name "LegacyLinks". Run modified savelinks tool to save the links as attributes (this uses ReqID rather than absolute number). Save 3. Create new modules. I called mine MergedAandC and MergedBandD. 4. Create new link module. I called mine MergedLinks. 5. Use the copy objects function to copy all objects from A to MergedAandC, remembering to select ALL the attributes. Repeat for C. Do the same to copy objects from B and D to MergedBandD. Save all modules 6. Recreate the links from attribute. From module MergedAandC, run the modified "Create Link by Attribute" tool (this uses ReqID rather than absolute number), slecting MergedLinks as the link module. Job done! The only changes I have made to the attached scripts are to use a string attribute called UNIQUE_ATTR instead of "Absolute Number", and to change the vraiable typr from int to string where necessary.
------------------------- Tony Goodman http://www.smartdxl.com Edited: 16-Dec-2005 at 09:02 by Tony Goodman |
|||||
![]() |
Telelogic DOORS
» DXL Exchange
»
Merging Modules and Linksets
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.