[GiDlist] ::GidUtils::DisableGraphics

Hello,
I need some help to disable a request of GiD. One part of a tcl
procedure is about to delete the existing mesh. This is done be

.central.s process escape escape escape escape Meshing CancelMesh

In the following some nodes and elements will be created. But the mesh
is not deleted until the dialog is answered. So I get problems to define
new nodes since the old mesh still exists. As I understand the procedure
::GidUtils::DisableGraphics disables the graphic only and not this request.
Are there any solutions?
Thanks in advance for your help.
Georg

You must provide in advance the answer to the question, then is not necessary to open the window to ask the user.
Some like this:

if { [lindex [GiD_Info mesh] 0] 0] } {
#if exists mesh, cancel it
GiD_Process Mescape Meshing CancelMesh Yes
}

Regards
Enrique Escolano

----- Original Message -----
From: “Georg Haasemann” georg.haasemann at gmx.de
To: “GID-Liste” gidlist at gatxan.cimne.upc.es
Sent: Friday, March 10, 2006 5:35 PM
Subject: [GiDlist] ::GidUtils::DisableGraphics


Hello,
I need some help to disable a request of GiD. One part of a tcl
procedure is about to delete the existing mesh. This is done be
.central.s process escape escape escape escape Meshing CancelMesh
In the following some nodes and elements will be created. But the mesh
is not deleted until the dialog is answered. So I get problems to define
new nodes since the old mesh still exists. As I understand the procedure
::GidUtils::DisableGraphics disables the graphic only and not this request.
Are there any solutions?
Thanks in advance for your help.
Georg


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/20060310/5f2680cc/attachment.htm