![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Suppress dialogue in DXL? Topic Summary: Created On: 14-Jun-2004 16:24 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Does anybody know how to suppress dialogue generated by DOORS when this dialogue occurs when script is running? We want to run DOORS in batch mode, and want to handle the dialogue stating that "... the module is locked by another user, open Read-Only?"
This because the script is waiting for a response ... Or should I approach it differently? ------------------------- Pieter de Waard www.nhindustries.com Edited: 15-Jun-2004 at 11:21 by Pieter DE WAARD |
|
![]() |
|
![]() |
|
Try:
noError() mod = edit(Name, false) string ErrMess = lastError() - Louie |
|
![]() |
|
![]() |
|
Tried that. noError suppresses the error messages generated by DXL in the lower DXL window. The DB I mentioned is not considered as an error.
In the mean time I discovered in another thread that getLocksInDatabase can be used to find modules that are locked for editing. Calling this function will then serve to find if the module we want to open is locked, in this way avoiding the message. Still have to test it though. Thanks. ------------------------- Pieter de Waard www.nhindustries.com |
|
![]() |
|
![]() |
|
Pieter,
Are you using the -batch command line parameter when you run DOORS in batch mode? I originally suggested isEdit(), but that only works for the current user. Try isLocked() instead. ------------------------- Michael Sutherland michael@galactic-solutions.com http://galactic-solutions.com Edited: 15-Jun-2004 at 17:53 by Michael Sutherland |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Suppress dialogue in DXL?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.