![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: How to delete linkset and LMD? Topic Summary: Created On: 22-Aug-2003 00:30 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
How can I delete a linkset and link module descriptor representing traceability between two formal modules?
I am creating the relationship with the following DXL code: void createLinkSet(string linkModule, src, trg) { Folder f = current Module l = edit(linkModule, false) Linkset ls = create (l, src, trg) string s = addLinkModuleDescriptor(f, src, trg, false, linkModule, "") save (l) close (l, false) } Is there a way to reverse this operation and delete all links? Thanks, David ------------------------- David Evans Senior Analyst/Developer Human Genome Sciences, Inc. |
|
![]() |
|
![]() |
|
A "LinkSet" is an actual thing. A "LinkModule Descriptor" (aka "Default Link Module" or "LinkSet Pairing) is just a pointer.
These are two completely separate beasts: [1] deleting linksets and [2] deleting LMDs (LSP LinkSet Pair. [1] You can open the Link Module, loop through all its "objects" (its Linksets), convert it to a linkset (via "linkset(obj)"), scan for the source/target modules, and then delete the linkset when you find the one you want. [2] Loop through the folder looking for LMDs 'for LMD in fold do". Find the source/target modules; delete the LMD (and then break) when you find the one you want. As a clean-up issue, if you find an LMD with null source/target/linkmod names you might as well delete when you find it. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
How to delete linkset and LMD?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.