![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Layout DXL Reverse Links Topic Summary: Created On: 30-Apr-2007 22:45 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: In a hurry. You cannot see the target object of a link unless the target module is open. Thus, after your first "for l in..." loop, you need to get the ModName_ of the target, get its fullName, then open that module. Then try to get the target object. You cannot see incoming links unless the source module is open. Thus your 2nd loop need to have a preliminary look in front of it, for LinkRef in target <- linkModName2 do. Get the source module from the LinkRef, then its full name, then open it. THEN loop through the incoming links. Open modules 'invisibly' which means 'false' in the 2nd parameter of the 'read' command. Then of course you have all these module op Look for ModName_ and LinkRef in the DXL online help. - Louie | |
![]() |
|
I'm trying to do a recursive analysis where the links go out from one module and then in to the next module. I want to display the Object Identifier and Object Text of the final module. Does anyone know how to do a recursuve analysis of links going in different directions? Attached is the code that's not working for me.
|
|
![]() |
|
![]() |
|
In a hurry.
You cannot see the target object of a link unless the target module is open. Thus, after your first "for l in..." loop, you need to get the ModName_ of the target, get its fullName, then open that module. Then try to get the target object. You cannot see incoming links unless the source module is open. Thus your 2nd loop need to have a preliminary look in front of it, for LinkRef in target <- linkModName2 do. Get the source module from the LinkRef, then its full name, then open it. THEN loop through the incoming links. Open modules 'invisibly' which means 'false' in the 2nd parameter of the 'read' command. Then of course you have all these module op Look for ModName_ and LinkRef in the DXL online help. - Louie |
|
![]() |
|
![]() |
|
Thank-you very much. I can't believe it was something that simple.
|
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Layout DXL Reverse Links
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.