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: 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
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.
Answer This question was answered by martin allman, on Monday, September 12, 2005 3:00 PM

Answer:
Tony many thanks for your valuable help that was just what I needed ta martin
 12-Sep-2005 09:10
User is offline View Users Profile Print this message


martin allman

Posts: 74
Joined: 25-Jul-2005

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. 
Report this to a Moderator Report this to a Moderator
 12-Sep-2005 12:25
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 12-Sep-2005 15:00
User is offline View Users Profile Print this message


martin allman

Posts: 74
Joined: 25-Jul-2005

Answer Answer
Tony many thanks for your valuable help that was just what I needed ta martin
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.