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: read modules without showing with a view
Topic Summary:
Created On: 26-Jul-2006 13:12
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 Ben Herfurth, on Wednesday, August 2, 2006 8:35 AM

Answer:
no we have a type_field which says if it is a design or test etc. ...

and if there is no in-link from the design module it is an open requirement. i think i have to specify a filter for each module

thanks,

Ben
 26-Jul-2006 13:12
User is offline View Users Profile Print this message


Ben Herfurth

Posts: 37
Joined: 9-Jun-2005

Hello, we are iterating over almost all of our modules, to extract different information.
To extract all "open" requirements we need to open a view.
The problem is, if we do the following
read(modName , false)
we cannot open a view on this module, and if we set the value to "true", the whole script is far too slow, because all the modules need to be showed.
Does someone have a clue how to use views without showing the module?
thanks in advance,
Ben


Edited: 26-Jul-2006 at 13:13 by Ben Herfurth
Report this to a Moderator Report this to a Moderator
 26-Jul-2006 18:31
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

It's come up on the forum before (see here, for example), and I don't think it's possible.

What is it from the view that you need within DXL? It sounds like you want filtering...perhaps you can do it object-by-object in DXL instead of relying on a filter.

Chris

Edit: fixed link...

Edited: 26-Jul-2006 at 18:35 by Chris Jones
Report this to a Moderator Report this to a Moderator
 26-Jul-2006 18:52
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

There is two solutions.

Solution 1. Set the default view as the one you want to process with your script when module is open in the background

Solution 2. Use the 'all' keyword in a loop to get all undeleted user objects -- then process only the objects you want
Report this to a Moderator Report this to a Moderator
 1-Aug-2006 09:35
User is offline View Users Profile Print this message


Ben Herfurth

Posts: 37
Joined: 9-Jun-2005

i want to filter out all "open Requirements", we have an open view in each module for this, but I don't think the people want to set this one as default view.
Report this to a Moderator Report this to a Moderator
 1-Aug-2006 17:21
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

I think you'll probably have to "filter" the objects in the modules as you process them. Something the attached should get you started. I've assumed you have an attribute called "Req status" set up to tell whether a requirement is open or not....

Chris

Edited: 1-Aug-2006 at 17:23 by Chris Jones
Report this to a Moderator Report this to a Moderator
 2-Aug-2006 08:34
User is offline View Users Profile Print this message


Ben Herfurth

Posts: 37
Joined: 9-Jun-2005

Answer Answer
no we have a type_field which says if it is a design or test etc. ...

and if there is no in-link from the design module it is an open requirement. i think i have to specify a filter for each module

thanks,

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