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: Filtering on Changebars
Topic Summary:
Created On: 9-Mar-2005 12:17
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 Seager, on Wednesday, March 9, 2005 1:37 PM

Answer:
Found it.

In a DXL layout column:

bool cb = modified obj

if( cb ) display "Yellow" else display "Green"


It puts Yellow or Green in the columns as expected but the DXL reference manual does not say what the criteria for setting "modified" is. I assume its the same as for the changebars.
 9-Mar-2005 12:17
User is offline View Users Profile Print this message


Peter Seager

Posts: 32
Joined: 10-Feb-2003

I want to filter on objects with yellow change bars. I can't find a direct filter so I want to set a DXL column that I can the filter on. The problem is I cannot find a DXL function that gets the changebar status. Best I have found is an instruction that sets the changebars red or green.

We usually reserve changebars for object headings and text but allow any significant attribute to change the Last Updated attribute which means I have to filter on the changebars themselves for what I want to do now.

Any ideas please?
Report this to a Moderator Report this to a Moderator
 9-Mar-2005 13:37
User is offline View Users Profile Print this message


Peter Seager

Posts: 32
Joined: 10-Feb-2003

Answer Answer
Found it.

In a DXL layout column:

bool cb = modified obj

if( cb ) display "Yellow" else display "Green"


It puts Yellow or Green in the columns as expected but the DXL reference manual does not say what the criteria for setting "modified" is. I assume its the same as for the changebars.
Report this to a Moderator Report this to a Moderator
 16-Jul-2008 18:26
User is offline View Users Profile Print this message


Rich Mason

Posts: 26
Joined: 11-Apr-2007

neat little bit of code. useful for an easy way to see what's changed since the last baseline for object text or headers as long as the other attributes are set to not affect change bars.

Thanks

-------------------------
Rich Mason
richard_mason@drsoptronics.com
Report this to a Moderator Report this to a Moderator
 16-Jul-2008 20:30
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Personally I'd write it as a DXL script to filter (accept/reject) on objects that have been modified. Then just apply it when desired.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.