GiD - The personal pre and post processor

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

GiD_Event_AfterProcess: will be called just after GiD has finished the process of 'words' and the word is consumed (the parameter is_view==1 if the command is a view function, 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.

proc GiD_Event_AfterProcess { words is_view } {
}


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.

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

proc GiD_Event_BeforeSetVariable { variable value } {
    #to avoid change the variable return -cancel-
}

proc GiD_Event_AfterSetVariable { variable value } {
}


GiD_Event_AfterSaveKernelDefaults: will be called just after save the C++ variables in the user preferences file

proc GiD_Event_AfterSaveKernelDefaults { filename } {
}

GiD_Event_BeforeExit: will be called just before exit GiD

proc GiD_Event_BeforeExit { } {
}
  • No labels