Hi
I'm using WarnWinText in a Tcl procedure to tell the user to wait while an
external exec process is being performed, is there a CloseWarnWinText I can
call which will close the dialogue box once the procedure has completed?
(rather than have to manually close the window)
It appears that the word "surface" is a reserved word and cannot be used at
the start of a condition name are there any other GiD reserved words (Gid
6.3.0b)
Thanks
Mark
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003
The information contained in this e-mail message (and any attachment
transmitted herewith) is privileged and confidential and is intended for the
exclusive use of the addressee(s). If you are not an addressee, any
disclosure, reproduction, distribution or other dissemination or use of this
communication is strictly prohibited. If you have received this
communication in error, please contact us immediately so that we can correct
the error.
[GiDlist] WarnWinText
Moderator: GiD Team
[GiDlist] WarnWinText
to close the WarnWinText window can use this command
destroy .gid.warning
It exists also a GiD-tcl procedure: runExe, to run a external process with more control: blocking or not the execution, callling automatically a callback procedure while or after terminate the process, with a timeout, etc. (see the file \scripts\runexe.tcl )
This is a sample use (see file \scritps\RetrieveProblemtype.tcl) of the procedure runExe to start the program "unzip.exe" to uncompress the file 'DownloadFile' and call a procedure, named in this sample AfterUnzip.
set exe "\"[file join $::GIDDEFAULT unzip.exe]\" -x -o \"$DownloadFile\""
runExe run $exe -blocking false -callback [list AfterUnzip %m $w $DownloadFile] -timeout 3600
the parameter %m is automatically set to: prepare , output or finished
if it's 'finished' then can show a finish message or close a window,
'output' can be used to update an advance bar, etc.
About the word 'surface' for a condition name, it exists a trick: if you add the prefix 'point_ ' , 'line_ ' , 'surface_ ' , or 'volume_ '
to a condition name, then this prefix is hidden inside the conditions window (but not internally, in the bas file must be refered using the complete name).
This is useful for example to create a condition named 'point_load' and another 'line_load': inside the conditions window only show the
name 'load' for this two similar conditions, applied over points or over lines.
Enrique Escolano
----- Original Message -----
From: "Mark Smith" mark.smith at linx.co.uk
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, September 02, 2003 2:17 PM
Subject: [GiDlist] WarnWinText
Hi
I'm using WarnWinText in a Tcl procedure to tell the user to wait while an
external exec process is being performed, is there a CloseWarnWinText I can
call which will close the dialogue box once the procedure has completed?
(rather than have to manually close the window)
It appears that the word "surface" is a reserved word and cannot be used at
the start of a condition name are there any other GiD reserved words (Gid
6.3.0b)
Thanks
Mark
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003
The information contained in this e-mail message (and any attachment
transmitted herewith) is privileged and confidential and is intended for the
exclusive use of the addressee(s). If you are not an addressee, any
disclosure, reproduction, distribution or other dissemination or use of this
communication is strictly prohibited. If you have received this
communication in error, please contact us immediately so that we can correct
the error.
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030902/67dca3cb/attachment.htm
destroy .gid.warning
It exists also a GiD-tcl procedure: runExe, to run a external process with more control: blocking or not the execution, callling automatically a callback procedure while or after terminate the process, with a timeout, etc. (see the file \scripts\runexe.tcl )
This is a sample use (see file \scritps\RetrieveProblemtype.tcl) of the procedure runExe to start the program "unzip.exe" to uncompress the file 'DownloadFile' and call a procedure, named in this sample AfterUnzip.
set exe "\"[file join $::GIDDEFAULT unzip.exe]\" -x -o \"$DownloadFile\""
runExe run $exe -blocking false -callback [list AfterUnzip %m $w $DownloadFile] -timeout 3600
the parameter %m is automatically set to: prepare , output or finished
if it's 'finished' then can show a finish message or close a window,
'output' can be used to update an advance bar, etc.
About the word 'surface' for a condition name, it exists a trick: if you add the prefix 'point_ ' , 'line_ ' , 'surface_ ' , or 'volume_ '
to a condition name, then this prefix is hidden inside the conditions window (but not internally, in the bas file must be refered using the complete name).
This is useful for example to create a condition named 'point_load' and another 'line_load': inside the conditions window only show the
name 'load' for this two similar conditions, applied over points or over lines.
Enrique Escolano
----- Original Message -----
From: "Mark Smith" mark.smith at linx.co.uk
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, September 02, 2003 2:17 PM
Subject: [GiDlist] WarnWinText
Hi
I'm using WarnWinText in a Tcl procedure to tell the user to wait while an
external exec process is being performed, is there a CloseWarnWinText I can
call which will close the dialogue box once the procedure has completed?
(rather than have to manually close the window)
It appears that the word "surface" is a reserved word and cannot be used at
the start of a condition name are there any other GiD reserved words (Gid
6.3.0b)
Thanks
Mark
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003
The information contained in this e-mail message (and any attachment
transmitted herewith) is privileged and confidential and is intended for the
exclusive use of the addressee(s). If you are not an addressee, any
disclosure, reproduction, distribution or other dissemination or use of this
communication is strictly prohibited. If you have received this
communication in error, please contact us immediately so that we can correct
the error.
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030902/67dca3cb/attachment.htm