![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() 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 | |
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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.
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
read modules without showing with a view
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.