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: How to traverse links in a baselined module??
Topic Summary:
Created On: 19-Mar-2004 19:31
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.
Answer This question was answered by Dhwani Mehta, on Friday, March 19, 2004 9:48 PM

Answer:
Thanks to Nick at Telelogic:

The answer is as follows using Linkref :

Object o = current
LinkRef lr
for lr in o <- "*" do {
print source lr "\n"
}


However, this is still does not loop through baselined links... the correct loop procedure is the following:

Object o = current
LinkRef lr
for lr in (all (o <- "*")) do {
print source lr "\n"
}

 19-Mar-2004 19:31
User is offline View Users Profile Print this message


Dhwani Mehta

Posts: 2
Joined: 14-Aug-2003

Good Afternoon,

I have a module which has been baselined.
I also have a script that traverses throughout the module using links to obtain information.

The script only works on the current module and not on the baselined module.

When I run the same script on the baselined module, the script failed to recognize any links in the baselined module. Therefore, no data(baselined data) can be obtained.

Does anyone have a remedy to traverse links in a baselined module??

Please let me know if you need any additional information.
Thank you.
Report this to a Moderator Report this to a Moderator
 19-Mar-2004 20:19
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

[1] I don't recognize "(all (partition_object<-"*")) ". My link loops look like:
for lnk in obj <- "*" do

[2] The loop shouldn't find ANY links unless the source modules are opened. There is an example in the DXL manual using source refs where the sources are opened allowing a subsequent link loop to work.

[3] In DOORS v6 and earlier, baselines have NO links: all links are associated with the current version only.

[4] In DOORS v7 they have some capability to link to baselines but I haven't used it and cannot comment on it.

- Louie
Report this to a Moderator Report this to a Moderator
 19-Mar-2004 21:48
User is offline View Users Profile Print this message


Dhwani Mehta

Posts: 2
Joined: 14-Aug-2003

Answer Answer
Thanks to Nick at Telelogic:

The answer is as follows using Linkref :

Object o = current
LinkRef lr
for lr in o <- "*" do {
print source lr "\n"
}


However, this is still does not loop through baselined links... the correct loop procedure is the following:

Object o = current
LinkRef lr
for lr in (all (o <- "*")) do {
print source lr "\n"
}

Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.