![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: opening modules thru a script Topic Summary: Created On: 8-Dec-2004 22:19 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I have a peculiar problem opening modules thru dxl.
I wrote a script (A) that runs on a module that has links to other modules. It should gather some information from linked modules and accordingly produce the report. The loop in the script opens each linked module via read statement. For some reason it does not work first time. But when I run a different script (B) that also deals with opening linked modules, and then run script A, it works. What I am trying to say is that script B is keeping the linked modules open in background and hence script A has no problem. If I log out of doors session and try, I face the same problem. I am using the same statement in both the scripts to open linked modules: if (!open module t) then read (t, false) where string t = <path of the module> Any help is appreciated! Srinivas |
|
![]() |
|
![]() |
|
The problem is not with the statement used to open the modules.
I suspect that the problem lies in the code that is looping through the links. If you are finding modules by following incoming links then you need to use LinkRef rather than Link. Also, check that you are getting the fullName of the module that you want to open, or use ModName_. Try these. If this is not the problem then you will have to post the DXL. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
opening modules thru a script
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.