set blockmodelgraphicsmenu_items {
GuidoMenuItem item1 {
-label "Colour model by attribute"
-icon "icons/16/bm_graphics_attribute_colour.png"
-command server "BM GRAPHICS ATTRIBUTE COLOUR"
}
GuidoMenuItem item2 {
-label "Clear model colouring"
-icon "icons/16/bm_graphics_attribute_uncolour.png"
-command server "BM GRAPHICS ATTRIBUTE UNCOLOUR"
}
GuidoSeparator sep1 {
}
GuidoMenuItem item3a {
-label "Add new constraint"
-icon "icons/16/bm_graphics_constrain_add.png"
-command server "BM GRAPHICS CONSTRAIN ADD"
}
GuidoMenuItem item3 {
-label "Remove last constraint"
-icon "icons/16/bm_graphics_constrain_remove.png"
-command server "BM GRAPHICS CONSTRAIN REMOVE"
}
GuidoMenuItem item4 {
-label "Clear all constraints"
-icon "icons/16/bm_graphics_constrain_clear.png"
-command server "BM GRAPHICS CONSTRAIN CLEAR"
}
GuidoMenuItem item5 {
-label "Erase block model"
-icon "icons/16/bm_graphics_erase.png"
-command server "BM GRAPHICS ERASE"
}
GuidoSeparator sep2 {
}
GuidoMenuItem item6 {
-label "Add slicing plane constraints"
-icon "icons/16/bm_graphics_slice_add.png"
-command server "bm graphics slice add"
}
GuidoMenuItem item7 {
-label "Remove slicing plane constraints"
-icon "icons/16/bm_graphics_slice_clear.png"
-command server "bm graphics slice clear"
}
GuidoSeparator sep3 {
}
GuidoMenuItem item8 {
-label "Edge and face visibility"
-icon "icons/16/block_edges_and_faces.png"
-command server "block edges and faces"
}
}
GuidoMenu blockmodelgraphicsmenu {
-label "Display options"
-delayed_script $blockmodelgraphicsmenu_items
}
