![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Links in a link module Topic Summary: Created On: 5-Aug-2004 09:01 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Thanks for the responses... Just what I needed. Paul | |
![]() |
|
--- Code edited to incorporate Louie's suggestion below...much tidier now :-) ---
Hi Paul, you're right in that the links are stored in the source module. However, the getSource function allows us to get a source object from the linkset (which one I don't know!?...the DXL manual isn't too clear on that!), which can then be used to open the source module and iterate though that to get all the links. The following code does just that, printing some info about all of the links found for each linkset in the link module. Best Regards, Antonio. Edited: 5-Aug-2004 at 15:18 by Antonio Norkus |
|
![]() |
|
![]() |
|
Once you have the object handle of an object in the Link Module (i.e. the linkset), you can find the associated source and target modules using special attributes of the LinkModule:
string NameSource = objectInLinkModule."Source" // and "Target" This returns the full name and you can open it from there. Those getSource and getTarget commands look real curious; they seem to return the first object in the formal module. If you use them I'd check to insure they objects returned are not null; not just the error message. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Links in a link module
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.