![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Loading modules true vs false Topic Summary: Created On: 31-Oct-2007 15:01 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
When I load a module 'false' (i.e. hidden)
Module m = read(n, false) Then load a view containing a different filter load view "myViewDifferentFilter" The new view's filter is not respected when I loop thru all objects (the original count of cbjects matches the default view filter) However, tf I load the module true Module m = read(n, true) The filter is respected. I have found that I can set the filtering on a module that was opened false. Filter f = attribute "Requirement" == "Shall filtering on set f refresh current Does anybody know >>WHY<< the filtering of the background module does not respect loaded views? Since I know about this, I can just manually set the filter and get around it however. the scary question to me is... Are there other differences I don't know about when modules are loaded 'false' vs. modules that are loaded 'true' . |
|
![]() |
|
![]() |
|
From my experience you can not set a view when the module is hidden, however you can set all the aspects of the view, i.e. the filter. ------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|
![]() |
|
![]() |
|
I hate to admit it, but there seems to be some logic behind this. If you open a module hidden, you can't see it, so how can you have a view on it? Provided you think of it from the GUI point of view, it makes sense. It's only when you start to think of it from a scripting point of view that it gets confusing.
Paul. ------------------------- Paul dot Tiplady at TRW dot com TRW Automotive |
|
![]() |
|
![]() |
|
An unsupported function that lets you load a view when a module is hidden:
quote: ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
David,
Thank you very much for posting that! That's great to know. ------------------------- Kevin Murphy http://www.baselinesinc.com The Requirements Management Experts |
|
![]() |
|
![]() |
|
Hi David,
I tried using the following and it didn't seem to load the view. (i.e. the count still reflected default view filtering) bool b = load(m, v, true, false) Since it's undocumented and I am just fishing, I tried all variations of true, false for the last two args. The function always returns false and the count always reflects the default view filtering. extra... I even tried it after loading Module m = read(n, true) It still returns the default view filter count. If I remove the last two args it loads and filters fine. Are you using 8.2? We are at 8.106. Maybe a difference??? Dan |
|
![]() |
|
![]() |
|
I'm using the same DOORS version you are currently. We will be upgrading to 8.2 shortly. I haven't actually tried using this command myself. It's just information I got from the guy who taught the DOORS, DXL, and DOORS Admin classes I attended back in April. It very likely could have been added in 8.2.
For reference, I also tried it, and it returned false. ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com Edited: 1-Nov-2007 at 15:17 by David Pechacek |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Loading modules true vs false
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.