![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() |
|
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! |
|
![]() |
|
![]() |
|
Brant, Rachaelle A. Lubinski Smiths Aerospace LLC ffice:smarttags" /> rachaelle.lubinski@smiths-aerospace.com |
|
![]() |
|
![]() |
|
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! |
|
![]() |
|
![]() |
|
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 |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Show Links through a Specific Link Module
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.