GiD_Event_AfterProcess: will be called just after GiD has finished the process of 'words' and the word is consumed (the parameter is_rotationview==1 if the command is a view movementfunction, like a rotation of the view, pan,...).
This event could be interesting for some tricks, like save processed commands in a batch file, or send the commands to be processed by other GiD slave, etc.
Code Block |
---|
proc GiD_Event_AfterProcess { words is_rotationview } { } |
GiD_Event_AfterEndCommand: will be called just after GiD pop a function from its stack. (the parameter is_view==1 if the command is some kind of view command, like a rotation, displacement, etc.)
This event could be used to try to mark the collection of keywords that below to an action, it is raised when the action is finished.
Code Block |
---|
proc GiD_Event_AfterEndCommand { is_view } {
} |
GiD_Event_BeforeSetVariable / GiD_Event_AfterSetVariable: will be called just before or after set the value of a GiD variable
Code Block |
---|
proc GiD_Event_BeforeSetVariable { variable value } { #to avoid change the variable return -cancel- } proc GiD_Event_AfterSetVariable { variable value } { } |
GiD_Event_AfterSaveKernelDefaultsBeforeExit: will be called just before exit GiD
Code Block |
---|
proc GiD_Event_BeforeExit { } {
} |
GiD_Event_BeforeSaveBackup : will be called just after save the C++ variables in the user preferences filebefore save a backup.
<dirname> is the name of the folder were will be saved (it can already do not exists).
To avoid save it can return -cancel-
Code Block |
---|
proc GiD_Event_AfterSaveKernelDefaultsBeforeSaveBackup { filenamedirname } { } |
GiD_Event_BeforeExitAfterSaveBackup : will be called just before exit GiDafter save a backup.
<dirname> is the name of the folder were it was saved
Code Block |
---|
proc GiD_Event_BeforeExitAfterSaveBackup { dirname } { } |