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: Using an object attribute value in same module
Topic Summary:
Created On: 2-Jul-2008 13:51
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 Peter Albert, on Wednesday, July 2, 2008 3:28 PM

Answer:
Try using the pre-defined Object variable 'obj' instead of the current Object. 'obj' is each appropriate object in layout DXL, while the current Object as you observed, is the one you selected.

Cheers,

Peter
 2-Jul-2008 13:51
User is offline View Users Profile Print this message


Steve Devine

Posts: 4
Joined: 3-Dec-2007

Hi... the more I think about this the simpler I think it should be but...

I have code that searches through multiple objects in linked modules and returns the value. The linked modules attribute is in the format of a 3 option list.

The values from all linked modules are aggregated and the lowest value used to display a status (RAG)

I now need to consider the value of a multivalue attribute that exists in the same module as the RAG status and introduce another status of Blue (RBAG).

I thought I could use Object o = current s = o."multivalue" and use string s in the if statements to but this seems to use any object I select with the mouse resulting in every value in the column being the same.

How do I stop this from happening and just use the value appropriate to the object?

Thanks

____________________________________
Steve
Report this to a Moderator Report this to a Moderator
 2-Jul-2008 14:53
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

Answer Answer
Try using the pre-defined Object variable 'obj' instead of the current Object. 'obj' is each appropriate object in layout DXL, while the current Object as you observed, is the one you selected.

Cheers,

Peter
Report this to a Moderator Report this to a Moderator
 2-Jul-2008 15:28
User is offline View Users Profile Print this message


Steve Devine

Posts: 4
Joined: 3-Dec-2007

Peter,

Thank you very much.

It works as expected.
___________________________________

Steve
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.