GiD - The personal pre and post processor

Groups

GiD_Event_AfterCreateGroup: similar to layer commands

proc GiD_Event_AfterCreateGroup { name } {
}


GiD_Event_AfterRenameGroup:

proc GiD_Event_AfterRenameGroup { oldname newname } {
}


GiD_Event_BeforeDeleteGroup: will be called just before delete the group 'name'
If it returns -cancel- the deletion is cancelled.

proc GiD_Event_BeforeDeleteGroup { name } {
    ...body...
    set value ...
    return $value
}


GiD_Event_AfterDeleteGroup:

proc GiD_Event_AfterDeleteGroup { name } {
}

GiD_Event_AfterChangeGroup: property could be color, visible, state, allowed_types

proc GiD_Event_AfterChangeGroup { name property } {
}


GiD_Event_AfterGroupParentGroup: will be called when moving a group to another parent of the tree.

proc GiD_Event_AfterChangeParentGroup { oldname newname } {
}


COPYRIGHT © 2022 · GID · CIMNE