![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: modules that are modified on a given day, in a project Topic Summary: Created On: 21-Oct-2008 03:20 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I'm checking to see which modules in a project are modified today. I see the results for just one project only. Could anyone let me know what's wrong?
Thanks. |
|
![]() |
|
![]() |
|
Hi,
Your code has a for m in p loop, so it will only iterate through a single project, you either need to wrap your whole function up in a for p in database loop or use iteration to look at every item in the database (see attached). Also, the help manual (for 8.3) says that the for m in p loop only looks at the top level modules: "Assigns the variable moduleName to be each successive module name (for which the user has read access) in project. This loop includes open or closed modules but only at the top level of the project. This is no longer everything contained in the project. This only works on the user's computer. " Paul |
|
![]() |
|
![]() |
|
Your 'for m in p' loop will only find open modules in the project. Don't forget to flush and close your output Stream.
Paul's recursive folder search should be routine for most scripts that deal with modules in the current folder and below. You would turn the itm into a full name, open the module, figure it out, then close the module. - Louie |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.