Navigation XML Files

The Trelis GUI includes a section referred to as the Command Panel. It is comprised of a hierarchy of buttons used to navigate to panels that accept user input and generate Trelis command strings. The following example shows the command panel used to create a sphere. The user navigates to the command panel by pressing the "Mode - Geometry" button, then the "Operation - Create Geometry" button, followed by the "Entity - Create Volumes" button, then finally selecting the "Sphere" option from the pull-down menu.

Before Trelis 14.0, this hierarchy was not modifiable by any third party. With the release of Trelis 14.0, any user can modify the contents of the button hierarchy by adding, deleting, or modifying buttons and command panels. The button hierarchy is expressed in a series of XML files located in the directory 'bin/xml.'

The controlling XML file is named, "CubitNavigationRoot.xml." A snippet from the file is shown below:

The first three levels of the hierarchy are managed in this file. Subsequent levels of the hierarchy are managed in more specific XML files. For geometry navigation, subsequent xml files are maintained for creation, modification, deletion, and so forth. The snippet below is from "GeometryCreateNavigation.xml". The creation hierarchy for all geometry entity types is included in this file.

Users may modify the Label, ToolTip, Search, or Icon filename. Users may remove entire categories if necessary. Users should not modify NavigationNode  or NavigationReference tags.

Users may create their own command panels using Qt and add them to the hierarchy.