Loading and unloading CUI files

When you install BricsCAD, the default CUI files are copied to the Support folder (see the BricsCAD User Files article).

Note: There are three standard CUI files installed by default:
  • Modern
  • Classic-ribbon
  • Classic-toolbars

When you launch BricsCAD the first time, the classic-ribbon.cui file is loaded automatically.

There are two procedures to load a CUI file:

  • Load main CUI file: replaces the currently loaded main CUI file.
  • Load partial CUI file: partially replaces the content to the currently loaded main CUI file.

When you launch BricsCAD after installing a major update, you have the option to copy the files and settings from the previous BricsCAD installation, preserving user changes in the CUI while adding the new CUI components.

Loading a main CUI file

  1. Launch the CUSTOMIZE command.

    The Customize dialog box appears.

  2. In the File menu, choose Load main CUI file ....

    The Select main CUI file dialog box displays the content of the Support folder.

  3. Select a CUI file, then double-click or click the Open button.

    The selected CUI file is loaded.

  4. Close the Customize dialog.

Loading a partial CUI file

  1. Launch the CUSTOMIZE command.

    The Customize dialog box appears.

  2. In the File menu, choose Load partial CUI file ....

    The Choose a customization file dialog box displays the content of the Support folder.

  3. Select a CUI file, then double-click or click the Open button.

    The content of the selected CUI file is appended: definitions which are different from the ones in the main CUI are used.

  4. Close the Customize dialog.
Note: If a CUIX file is selected in step 2 it will be converted to a CUI file on-the-fly. When a CUIX file contains bitmaps, they are copied into a .RESZ resource file, which are supported as an alternative to resource DLL (zip file containing tool bitmaps; works on all platforms). The following image formats are supported: BMP, JPG, PNG, ICO, GIF, TIFF, XBM, XPM.

In case of a CUI load error

In the case of a load error due to a corrupted CUI file, an error message is displayed allowing the user to try restoring from the latest backup, or using a CUI file with the same name from the UserDataCache, if any.

Unloading a partial CUI file

  1. Launch the CUSTOMIZE command.

    The Customize dialog box appears.

  2. Click the Menus tab.
  3. Right-click the partial CUI name and choose Unload <PartialCuiName> in the context menu.
  4. Close the Customize dialog.

Managing customization groups

  1. Launch the MENULOAD command.

    The Customization groups dialog opens.

  2. (Option) To load a partial CUI file, click the browse button () to select a partial CUI file, then click the Load button.
  3. (Option) To unload a partial CUI file, select the partial CUI file in the Loaded Customization Groups list, then click the Unload button.
  4. Click the Close button to stop.