![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Printing a list of Linksets Topic Summary: Created On: 19-Nov-2004 21:29 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Great, this is what I need. Thanks! | |
![]() |
|
Hi,
I'm trying to update a dxl which will allow users to choose incoming, outgoing or both types of links to display information about them in a column (layout dxl) based on which attributes are chosen. The dxl is run from within a formal module. Currently, the dxl allows the user to choose the type of link, the link module, and attributes to display. I need to also allow the user to select a specific linkset within the chosen link module to display information about. I want to do this without having to make the user select the source, target and link modules, but just the link module. I can't figure out how to display linksets. Even within a link module, I tried to print a list of Linksets that the Link module contains, and I can't get it. Can anyone help? Laura |
|
![]() |
|
![]() |
|
Linksets are objects in a link module.
To extract the source and target module names, use the following: Object o Module linkModule string src string tgt for o in linkModule do { src = o."source" tgt = o."target" print("Linkset: " src " -> " tgt "\n") } ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Great, this is what I need. Thanks!
|
|
![]() |
|
![]() |
|
I have a followup to this question.
if Linksets are objects in a link module then how do you access the Links in a Linkset? Are they accessed the same as links in an object? Such as below? ------------------------- Peter Dawson Engineering Tools Support Group Boeing Australia Limited Edited: 9-Sep-2008 at 05:53 by Peter Dawson |
|
![]() |
|
![]() |
|
You cannot access Links themselves from the LinkModule. You need to open the source module, look at its objects, and look at each objects links.
- Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Printing a list of Linksets
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.