5.1 Customizing the user interface

To customize the Abaqus/CAE and Abaqus/Viewer user interface, you can specify general display properties on Windows platforms. Settings on other platforms, such as Linux, may also affect the appearance of the user interface and some of its functions. You can also record all of your actions in the Abaqus/CAE or Abaqus/Viewer user interface in a file named abaqus.guiLog.


5.1.1 Hardware acceleration (all platforms)

With some graphics devices Abaqus/CAE and Abaqus/Viewer may fail when hardware acceleration is turned on. It is possible to turn off hardware acceleration if completely necessary, although it is not recommended. Disabling hardware acceleration will severely degrade graphics performance in Abaqus/CAE and Abaqus/Viewer. You can disable hardware acceleration using one of the following methods:

Linux platforms

Start Abaqus/CAE or Abaqus/Viewer using the -mesa option:

abaqus cae -mesa
abaqus viewer -mesa

Windows platforms

There are two ways to disable hardware acceleration on Windows platforms:

  • Add the parameter abaqus_no_hardware_acceleration=ON to the Abaqus environment file; or

  • Create a system environment variable using the following command:

    set ABAQUS_NO_HARDWARE_ACCELERATION=1


5.1.2 Common customizations on Windows platforms

The following procedures explain how to specify some commonly desired settings on Windows platforms:

To change the “start-in” location for any Abaqus shortcut:

  1. Use Windows Explorer to go to the directory where the Abaqus shortcuts are located. The shortcuts contained in this directory affect all users on the computer and may require special permission to change.

  2. Click mouse button 3 on the shortcut (Abaqus CAE, Abaqus Command, or Abaqus Viewer) for which you wish to change the start-in location, and select Properties; then click the Shortcut tab.

  3. In the text box labeled Start in:, set the full path to the directory you wish to use as the default location for saving the files created by that Abaqus product.

To stop Abaqus/CAE and Abaqus/Viewer windows from being erased when a dialog box is moved:

    Menu items may vary depending upon your Windows operating system. For Windows 7 operating systems:

  1. Select StartControl Panel.

  2. Type Effects in the search box and press Return.

  3. Select Adjust the appearance and performance of Windows.

  4. In the Visual Effects tab of the Performance Options dialog box, toggle off Show window contents while dragging.

  5. Click OK to save your settings and to close the Performance Options dialog box.

To change the colors and fonts used in Abaqus/CAE and Abaqus/Viewer:

    You can change the colors and fonts displayed in Abaqus/CAE and Abaqus/Viewer by applying a new color scheme to your session. Color schemes determine the colors and text settings that Windows uses to display each component in an application, such as its menus, dialog boxes, and title bar. For example, when the Windows Standard color scheme is selected, Windows displays white text in Tahoma font against a blue background in the title bar; and displays black text in Tahoma font on a white background in application menus.

    You can also customize a color scheme by editing the color or text settings for any individual item in the color scheme. This customization enables you to change more specific settings, like increasing the text size in the title bar without changing the text size in other areas of the application.

    Changes to the color and font settings affect all applications, not just Abaqus programs. Menu items may vary depending upon your Windows operating system. For Windows 7 operating systems:

  1. Select StartControl Panel, and type Display in the search box.

  2. If desired, choose a new font size.

  3. Select Personalization.

  4. Choose a preset Theme from the list.

  5. If desired, change the color or font settings for individual items in the selected color scheme:

    1. Type Window in the search box. Select Change window colors and metrics in the Personalization area of the search results.

      The Window Color and Appearance dialog box appears.

    2. Select the Item for which you want to change color and font display.

      The dialog box displays the current color and, if applicable, the font settings for the selected item. Windows excludes font settings for items that do not display text, like the active window border.

    3. Choose a new item color from the Color 1 list. For items like the active title bar that allow a gradient between two colors, you can also adjust the second color in the gradient by choosing a new color from the Color 2 list.

    4. Adjust the text settings for the selected item from the options at the bottom of the dialog box. You can choose a new Font from the list, click the Size arrows to increase or decrease text size, choose a new text Color from the list, and toggle the bold or italic formatting for the text in this item.

    5. Repeat the previous two steps to change color and text display for other individual items in a color scheme.

    6. Click OK to close the Window Color and Appearance dialog box.

  6. Click OK to save your settings and to close the Display Properties dialog box.

To change the default fonts used in Abaqus/CAE and Abaqus/Viewer:

  • By default, Windows renders text in the Abaqus/CAE and Abaqus/Viewer viewport windows by referring to the fonts available in your system fonts directory. You can override this default behavior and use other fonts for your session by adding the parameter hks_font_path to your Abaqus environment file. Set this parameter to multiple, comma-delimited values if you want to set up multiple font directories for your session.

To display Chinese characters in Abaqus/CAE and Abaqus/Viewer:

    You can enable a localized Chinese version of Abaqus/CAE and Abaqus/Viewer. This localized version displays Chinese characters for text in menus, dialog boxes, the Model and Results Trees, and the message area; text in the viewport is not localized.

    Menu items may vary depending upon your Windows operating system. For Windows 7 operating systems:

  1. Set the regional language settings for Windows to enable Chinese characters:

    1. Select StartControl Panel.

    2. To install the Chinese language, select Install or uninstall display languages and follow the prompts.

  2. Set the system environment variable ABAQUS_USE_LOCALIZATION=1.

    • To set the variable for a single session, enter the following command in a command prompt:

      set ABAQUS_USE_LOCALIZATION=1
      You must run Abaqus/CAE or Abaqus/Viewer from the same command prompt.

    • To set the environment variable permanently, save it in the Windows system properties. Environment variables can be saved using the Advanced tabbed page of the System Properties dialog box.


5.1.3 Linux settings that affect Abaqus/CAE and Abaqus/Viewer

Linux operating systems provide you with many options for customization. Because you can alter parts of the operating environment that are held constant on other platforms, your Linux settings may alter some basic interactions within Abaqus/CAE and Abaqus/Viewer. The exact settings available and the methods you use to change them vary according to the version of Linux that you have installed. Three possible settings and their effects are as follows:

Removal of window title bars

Your access to some dialog and toolbox functions may be limited if you have customized your system so that window title bars are not displayed. Without title bars, you may not be able to move a dialog box. Using the [Esc] key is the only means to close a dialog or toolbox that has no title bar or Cancel button.

Removal of window borders

Resizing a dialog box requires you to click and drag the border. If your Linux customizations include the removal of application window borders, you may not be able to resize dialog boxes in Abaqus/CAE and Abaqus/Viewer. Instead, use the scroll bars to access data that extend beyond the edges of a dialog box.

Displaying Japanese characters

If your locale setting is Japanese, Abaqus/CAE and Abaqus/Viewer can display Japanese text in the viewport. For example, text annotations and the state and title blocks are displayed in Japanese. To display the Japanese characters correctly, the Japanese TrueType fonts must be installed in the directory /usr/lib/X11/fonts.


5.1.4 Recording all user interface actions in a log file

You can record all of the actions you take in the Abaqus/CAE or Abaqus/Viewer user interface in a file named abaqus.guiLog. This setting can be toggled on for a single session, or you can select it as the default behavior.

Enabling user interface recording at runtime

Start Abaqus/CAE or Abaqus/Viewer using the -guiRecord option:

abaqus cae -guiRecord
abaqus viewer -guiRecord

Enabling user interface recording using ABQ_CAE_GUIRECORD

You can specify user interface recording by setting ABQ_CAE_GUIRECORD from a command line, in the Abaqus environment file, or—on Windows platforms—as a system environment variable.

  • To set the variable for a single session, enter the following command in a command prompt:

    set ABQ_CAE_GUIRECORD=1
    You must run Abaqus/CAE or Abaqus/Viewer from the same command prompt.

  • To enable user interface recording as the default behavior, add the parameter ABQ_CAE_GUIRECORD=ON to the Abaqus environment file; or on Windows platforms, save it in the Windows system properties. Environment variables can be saved using the Advanced tabbed page of the System Properties dialog box (select StartSettingsControl Panel, and double-click System).

When user interface recording is the default behavior, you can still disable it from the command line by starting Abaqus/CAE or Abaqus/Viewer using the -guiNoRecord option:

abaqus cae -guiNoRecord
abaqus viewer -guiNoRecord