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: Layout DXL Reverse Links
Topic Summary:
Created On: 30-Apr-2007 22:45
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 Louie Landale, on Tuesday, May 1, 2007 4:06 PM

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
 30-Apr-2007 22:45
User is offline View Users Profile Print this message


Christienne Mancini

Posts: 18
Joined: 30-Aug-2006

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.

Report this to a Moderator Report this to a Moderator
 30-Apr-2007 23:03
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Answer 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
Report this to a Moderator Report this to a Moderator
 1-May-2007 16:06
User is offline View Users Profile Print this message


Christienne Mancini

Posts: 18
Joined: 30-Aug-2006

Thank-you very much.  I can't believe it was something that simple.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.