![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Getting data from all modules in folder or project, opened or closed Topic Summary: Created On: 8-Jan-2007 19:56 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
We have data that needs to be written out to a text file for all modules in a folder. Right now, the code can get the data if the module is open. Is it possible to do this without opening all modules? Edited: 8-Jan-2007 at 20:01 by Anil Prasad |
|
![]() |
|
![]() |
|
Looping through projects doesn't work so well. You need to loop through the Items in a Folder; first looking for modules in the folder and then recursively considering the sub-folders.
See attached for functions I wrote today that should get you started. No, they don't compile but I'm not going to debug it. - Louie |
|
![]() |
|
![]() |
|
No, you have to open the modules. However if you open them read-only without diaplying them and close before you open the next module it will be fairly quick. A few extra lines in your code will do the trick. Note this suggestion will close modules that was already open as well. You could check for this and close only modules opened by script.
|
|
![]() |
|
![]() |
|
I am told that DOORS 9 will allow access to module level attributes when the module is closed.
------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.