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: would like to ignore filtering in Layout DXL
Topic Summary:
Created On: 16-Apr-2007 21:26
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.
 16-Apr-2007 21:26
User is offline View Users Profile Print this message


David Ehlers

Posts: 10
Joined: 23-Mar-2007

I've created a Layout DXL column based on the contents of the current module. I notice that the values placed in this column are affected by the filter/view I have active. Is it possible to make a Layout DXL column ignore the current filter? I've tried adding "filtering off" to the script and it actually shuts the entire program down!

I'm using next(Object) and it's returning different values based on the objects visible.

Thanks.
Report this to a Moderator Report this to a Moderator
 17-Apr-2007 09:34
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi David,

you could use a for Object in entire Module loop to find the next or previous Object.

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 17-Apr-2007 17:20
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Layout is tricky. Don't bother trying to defined filters in layouts, even if the code simply decides if the object is showing or not. Those that are not showing won't run and its a big mess.

Your problem is the 'next' command, which gets the next object in the current view; which of course you've noticed. You can try to turn off filtering in the layout but I think that's like shooting an unloaded gun.

What you appear to want is the next object in the natural hierarchy. The attached may get you going.

- Louie
Report this to a Moderator Report this to a Moderator
 17-Apr-2007 19:53
User is offline View Users Profile Print this message


David Ehlers

Posts: 10
Joined: 23-Mar-2007

Thanks for the replies Reik, Louie.

So what I got out of your approaches was to let the for loop do the searching, not the next command. I had a co-worker on the same problem and she came up with a solution using for object in object. However, that seems to update very strangely when the filter is turned on and off (objects get repeated, the values change depending on the object selected, etc. -- it eventually settles down). I'll have to see if for object in entire is more stable.

<> David
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.