![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Listing Modules in Database Topic Summary: Created On: 12-Jun-2007 17:16 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Does anybody know how to list all the modules within the entire Doors database?
I have a script that shows all the folders, projects and modules within a selected project where I can filter the output to only show the modules. However, I need to create a loop that starts at the base directory of the database and loops through all the projects and folders. I can imagine the code would look something like this... for <Item &itemRef> in <Database> do { ... } I don't know how to reference the database, however. |
|
![]() |
|
![]() |
|
One way would be to do something like the attached code.... |
|
![]() |
|
![]() |
|
Sudip
------------------------- Michael Sutherland michael@galactic-solutions.com http://galactic-solutions.com |
|
![]() |
|
![]() |
|
Sudip,
Another way to do it... ------------------------- Michael Sutherland michael@galactic-solutions.com http://galactic-solutions.com |
|
![]() |
|
![]() |
|
Thanks Mike
|
|
![]() |
|
![]() |
|
The version of the code that Mike posted above works correctly. However, I added some lines to open the module, read the last modified by attribute and close the module. When I run the script, doors hangs and I need to kill it with the task manager. When I look at the output file, it always hangs at the same point. I've tried searching through smaller projects and it will work with some and hang on others, usually the larger ones. It always behaves consistently from project to project.
Are there any known issues with opening and closing a large number of modules with this method? Only one module is open at a given time. My version of the script is attached |
|
![]() |
|
![]() |
|
I tried your code and did not have any problems with it. I only have about 350 modules in my Database. How many do you have?
------------------------- Bob Mathis Robert.S.MATHIS@odot.state.or.us |
|
![]() |
|
![]() |
|
I have about 460 modules. Some of them are quite large though and take about 5 seconds to open from the module explorer.
|
|
![]() |
|
![]() |
|
I find that its not the size of the module that matters as much as the amount of history to load and the links that have to be gotten. We have a module with only 500ish objects but it takes 10-15 seconds to load because it hasn't been baselined in 2 years. Don't ask me why. I've only been here 6 months. I brought it up to my boss though.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Listing Modules in Database
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.