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: Show Links through a Specific Link Module
Topic Summary: Does 'for l in all(obj -> "MyLinkModule") do' work?
Created On: 21-Mar-2005 16:07
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.
 21-Mar-2005 16:07
User is offline View Users Profile Print this message


Brant Stoner

Posts: 30
Joined: 2-Aug-2004

I'm trying to disply in a column all the outlinks going from each object through a specific Link Module. The canned impact analysis DXL script works great, but it shows me the links going through ALL link modules. So, starting with the canned impact script, I tweaked it a bit to loop through only the module I wanted. Then the script didn't work anymore.

The Help for the DXL statement 'for all outgoing links' indicates that either all link modules can be searched (by using a wildcard) or that a specific Link Module can be searched (by using the Link Module's name). I was assuming I could just replace the asterisk with the name of my link module, and everything would be fine, but if I use a specific Link Module, nothing gets reported even though I know there are links going through the module.

At the end of this message is the code from the DXL Help documentation (for 'finding links'), and my modified statement. Am I doing something wrong? Does this not really work, even though the documentation says it does? Help!
Report this to a Moderator Report this to a Moderator
 21-Mar-2005 19:12
User is offline View Users Profile Print this message


Rachaelle Lubinski

Posts: 1
Joined: 5-Oct-2004

Brant,

I suggest using the Analysis Wizard to create the column you need since it allows you to use a specific link module. The script can always then be copied to be used at other instances.fficeffice" />>>

Rachaelle A. Lubinski>>

Smiths Aerospace LLC>>

ffice:smarttags" />3290 Patterson Ave>>

lace>Grand Rapids, MI ostalCode>49512ostalCode>lace>>>

hone phonenumber="$6241$$$" o_x003a_ls="trans">616.241.7552hone>>>

rachaelle.lubinski@smiths-aerospace.com>>

>

Report this to a Moderator Report this to a Moderator
 21-Mar-2005 20:53
User is offline View Users Profile Print this message


Brant Stoner

Posts: 30
Joined: 2-Aug-2004

Ah, I'm such an idiot!

I didn't think the Wizard could show multiple modules in the same column, which is why I was trying to use the other DXL script. I kept trying to select all the modules (and could only select a single one) instead of just clicking "*FINISH*" to default to all modules (though it pretty clearly states what happens right there in the Wizard pop-up window. Maybe I should pay a little more attention ).

Thanks for the help!
Report this to a Moderator Report this to a Moderator
 21-Mar-2005 21:01
User is offline View Users Profile Print this message


Paul Ransley

Posts: 10
Joined: 20-Sep-2004

Brant,

One reason could be that the source module of the incoming link is not open, the dxl command "Link" needs a module to be open to work.  The module might be open read-only and not visible, you can check whats happen from the Project Explorer using TOOLS > MANAGE OPEN MODULES.

If you run the Analysis Wizard again to create a new layout DXL column in Step 2 of the Wziard try the options to include ALL modules (not OPEN), and as Rachaelle says, you can also specify a link module to use.

One of the differences you'll see in the generated DXL code is a new piece of code using the "LInkRef" command, this is used to check if the target/source module associated with the link is open, and if not, open it.  See the example bit of code below.

UPDATED - I see you've found this now, hope this explains the DXL behind the solution.



-------------------------
Paul Ransley<BR><BR>Beaver Computer Consultants Limited

Edited: 21-Mar-2005 at 21:06 by Paul Ransley
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.