![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() 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" } ![]() | |
![]() |
|
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. |
|
![]() |
|
![]() |
|
[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 |
|
![]() |
|
![]() |
|
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" } ![]() |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
How to traverse links in a baselined module??
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.