[GiDlist] GID question

Moderator: GiD Team

Post Reply
Michal Petas

[GiDlist] GID question

Post by Michal Petas »

Hi,



I want to create some forms in tcl with custom widgets. Which GID tcl
functions I must use to save state of my form with current data in GID
environment ? Can you write (or send to me documentation) about GID save
mechanism ?



Regards

Michał Petaś

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20120924/1c9c612c/attachment.htm
User avatar
escolano
Posts: 1922
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] GID question

Post by escolano »

GiD raise two GiD-Tcl events to allow you to save your own data in our own files

proc LoadGIDProject { filespd } {

}


proc SaveGIDProject { filespd } {

}

if you implement these procedures (e.g. writting them in a problemtype.tcl file that is automatically sourced when loading the problemtype) then
they will be called when user read or save a model. filespd is the pourposed filename to save your 'specific problemtype data'

Read GiD help on customization - tcl/tk extension to know more GiD-Tcl events and other interesting procedures for problemtype developers.

Regards
Enrique Escolano
----- Original Message -----
From: Michal Petas
To: gidlist at listas.cimne.upc.edu
Sent: Monday, September 24, 2012 6:45 PM
Subject: [GiDlist] GID question


Hi,



I want to create some forms in tcl with custom widgets. Which GID tcl functions I must use to save state of my form with current data in GID environment ? Can you write (or send to me documentation) about GID save mechanism ?



Regards

Michał Petaś



------------------------------------------------------------------------------


_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20120925/562456ee/attachment.htm
Post Reply