[GiDlist] (no subject)
Posted: Thu Jan 23, 2003 10:25 pm
Hi everybody,
I am working on the embeddement of a solver called dyn3D (for geotechnical dynamics analysis) into the preprocessor of gid. The solver has three different calculation modules which demand different input data. I have created the configuration files and a tcl-file. When a new project is created within gid ( by choosing the problemtype "dyn3D"), the tcl-file makes a window pop up in which the calculation module can be selected by the user. The selection is stored in a global variable within the tcl procedure and is used in other procedures to specify the menu and the symbols that appear in the gid window. That works fine as long as this global variable is defined. But if I save a project and reopen that project later on, the variable is lost or is set to a standard value. So either the tcl file cannot be interpreted by gid or the wrong values are read.
What I would need to do is to save the global variables values in a file within the project directory so it can be read whenever the project is opened within gid. Does anybody have a clue if that is possible?
Thanks for response, Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030123/67d3e5d9/attachment.htm
I am working on the embeddement of a solver called dyn3D (for geotechnical dynamics analysis) into the preprocessor of gid. The solver has three different calculation modules which demand different input data. I have created the configuration files and a tcl-file. When a new project is created within gid ( by choosing the problemtype "dyn3D"), the tcl-file makes a window pop up in which the calculation module can be selected by the user. The selection is stored in a global variable within the tcl procedure and is used in other procedures to specify the menu and the symbols that appear in the gid window. That works fine as long as this global variable is defined. But if I save a project and reopen that project later on, the variable is lost or is set to a standard value. So either the tcl file cannot be interpreted by gid or the wrong values are read.
What I would need to do is to save the global variables values in a file within the project directory so it can be read whenever the project is opened within gid. Does anybody have a clue if that is possible?
Thanks for response, Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030123/67d3e5d9/attachment.htm