GiD - The personal pre and post processor

Other

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_BeforeExit: will be called just before exit GiD

proc GiD_Event_BeforeExit { } {
}

GiD_Event_BeforeSaveBackup : will be called just before 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-

proc GiD_Event_BeforeSaveBackup { dirname } {
}

GiD_Event_AfterSaveBackup : will be called just after save a backup.

<dirname> is the name of the folder were it was saved

proc GiD_Event_AfterSaveBackup { dirname } {
}

COPYRIGHT © 2022 · GID · CIMNE