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 2 Current »

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 } {
}


Some events that allow show the appropiated 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 modidy 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 } {
}



  • No labels