GiD - The personal pre and post processor
GUI
GiD_Event_AfterCreateTopMenus: will be called just after creating the top menus.
proc GiD_Event_AfterCreateTopMenus { } { }
GiD_Event_AfterChangeBackground: will be called just after change some background property, like color, direction or image.
proc GiD_Event_AfterChangeBackground { } { }
GiD_Event_ChangedLanguage: will be called when you change the current language. The argument is the new language (en, es, ...). It is used, for example, to update problem type customized menus, etc.
proc GiD_Event_ChangedLanguage { language } { }
GiD_Event_ChangeMainWindowTitle: will be called when GiD changes the title of the main graphical window. Two arguments: project_name and problemtype_name.
proc GiD_Event_ChangeMainWindowTitle { project_name problemtype_name } { }
GiD_Event_BeforeUpdateWindow
proc GiD_Event_BeforeUpdateWindow { window } { }
GiD_Event_BeforeSetCursor
proc GiD_Event_BeforeSetCursor { name togle } { }
name is the cursor name that will be set, and togle is the widget name
Some events that allow show the appropriated widgets
GiD_Event_BeforeSetWarnLine
GiD_Event_MessageBoxModeless
GiD_Event_MessageBoxOk
GiD_Event_MessageBoxEntry
GiD_Event_MessageBoxCombobox
GiD_Event_MessageBoxGetGeneralMeshSize
Note: The GiD_Event_GetRecommendedMeshSize could be used to modify the default mesh size recommended by GiD (and provided to GiD_Event_MessageBoxGetGeneralMeshSize). It must return a positive real value.
GiD_Event_GetRecommendedMeshSize
GiD_Event_MessageBoxOptionsButtons
GiD_Event_MessageBoxOptionsButtonsModeless
Note: This command 'Modeless' open a non-modal window (non-locking) and the selected option will be sent to GiD_Process when the user click its button.
GiD_Event_MessageBoxGetNormal
GiD_Event_MessageBoxGetFilename
proc GiD_Event_BeforeSetWarnLine { message } { } #show the message and continue proc GiD_Event_MessageBoxModeless { title message } { } #show the message and wait the user action proc GiD_Event_MessageBoxOk { title question message_small image } { } proc GiD_Event_MessageBoxEntry { title question entry_win_type default_answer button_assign image } { } proc GiD_Event_MessageBoxCombobox { title question options state image } { } proc GiD_Event_MessageBoxGetGeneralMeshSize { last_generation_size recommended_size get_meshing_parameters_from_model } { } proc GiD_Event_GetRecommendedMeshSize { recommended_mesh_size } { ... return $new_recommended_mesh_size } proc GiD_Event_MessageBoxOptionsButtons { title question message_small options labels image } { } proc GiD_Event_MessageBoxOptionsButtonsModeless { title question message_small options labels image } { } proc GiD_Event_MessageBoxGetNormal { title } { } proc GiD_Event_MessageBoxGetFilename { category mode title initial_filename file_types default_extension multiple more_options } { }
COPYRIGHT © 2022 · GID · CIMNE