Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: delete Links to Baseline
Topic Summary: Links
Created On: 2-Nov-2007 13:58
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 2-Nov-2007 13:58
User is offline View Users Profile Print this message


rashaad hampton

Posts: 6
Joined: 2-Nov-2007

Module A (SRS 0.5 current) has links to Module A (SRS 0.4 Baselined).  These links are not captured in the Link Module so I am not sure how to delete them.  I cannot delete the entire link module because the are internal links within this module the i need to keep.  How do I delete/hide these links to the baselined module?
 



Edited: 2-Nov-2007 at 15:18 by rashaad hampton
Report this to a Moderator Report this to a Moderator
 5-Nov-2007 19:41
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

The attached script may do what you are looking to do.
The script deletes outgoing links to baselines.

If you are not happy with the results don't save your module.

Edited: 6-Nov-2007 at 12:49 by ron lewis
Report this to a Moderator Report this to a Moderator
 5-Nov-2007 19:54
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Deleting a link while inside a for link loop is a bad idea. It may work often, but at other times the link loop will get confused and you won't get the results you want, or get DXL errors. Instead, do something like the attached.

- Louie
Report this to a Moderator Report this to a Moderator
 5-Nov-2007 20:15
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Louie, your concern appears to be unfounded since the dxl manual says:

delete(l) Marks link l for deletion. The delete only takes effect when the DXL script ends, or when the flushDeletions function is called.

Therefore the loop doesn't get confused because the actual deletions occurs at the end of the dxl script or when flushDeletions occurs.

Edited: 5-Nov-2007 at 20:39 by ron lewis
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.