![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: rom A to B Navigating out liks to capture attribute value Topic Summary: Navigating out liks to capture attribute value Created On: 12-Sep-2005 09:10 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Tony many thanks for your valuable help that was just what I needed ta martin | |
![]() |
|
I have three modules, A, B, C. A has out links to B and B has outlinks to C. I would like to follow this chain from A to B to C and introduce a column into module A that contains a attribute value that I defined in module C. I would like to know how to navigate the links from A through B to C and then pick up the particular attribute that is in C. If the attribute value changes in mod C I would also like this to automatically update to the column I introduced in module A. Hope thats does'nt sound too convuluted! thanks to anybody that can give me some help.
|
|
![]() |
|
![]() |
|
You can do this without coding DXL. Well nearly!
Run the wizard to craete a layout DXL column. Select Analysis->Wizard Select all modules and click next. Select out-links and click next Select Object Heading only for display and click next Enter depth 2 and click next. Accept default by clicking next. Click finish. When columns have been created, you need to edit the DXL so that it displays exactly what you need. Right mouse on the column called Out-links depth 2. Select properties. Click Browse Click Current Change the following line: s = probeRichAttr_(othero,"Object Heading", false) to s = probeRichAttr_(othero,"MyAttr", false) where "My Attr" is the name of the attribute in module C that you are interested. Click OK Click OK Now you convert the layout DXL to Attribute DXL. Select Tools->Support Tools->Convert Layout DXL to Attribute DXL Select "Outlinks at depth 2" in the list and click Convert. A new column appears showing the new DXL attribute. This attribute will update automatically when the attribute MyAttr is changed in C. Click close on dialog. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Tony many thanks for your valuable help that was just what I needed
ta martin
|
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.