nanoCAD Platform Help

Customize User Interface

CAD drafting Customize User Interface 0       Ribbon: Manage – Customization – Interface > CAD software Customize User Interface 1 Customize interface

CAD drawing Customize User Interface 2       Menu: Tools – Customize > CAD drafting Customize User Interface 3Interface…

CAD software Customize User Interface 4 Command line: INTERFACE

Customize User Interface dialog box is intended to:

·         create and edit ribbon elements (tabs, context tabs, groups and icons);

·         create new menus, toolbars, context menus;

·         fill menus and toolbars by commands and create new commands;

·         edit the composition and parameters of interface objects;

·         add and change actions on objects, accelerators, aliases, tooltips;

·         save all changes in a separate .cfg file and manage configuration files.

ATTENTION! All changes made to the Customize User Interface dialog enter into effect after the program is reloaded.
To apply changes to ribbon elements, use the RELOADRIBBON command or the ALT+R hotkeys. No program restart is required.

 

ATTENTION! When making changes to the interface settings through the Customize User Interface dialog, the display and location settings for palettes and toolbars are reset to the state specified by the user in the Customize User Interface dialog.

 

NOTE Transferring and copying interface settings can be done using the UIIMPORT and UIEXPORT commands.

Dialog options

File

Drop-down menu with commands to manage configuration files:

CAD drawing Customize User Interface 5

CAD drafting Customize User Interface 6 Open – opens the dialog for searching and opening a configuration file with the *.cfg extension.

CAD software Customize User Interface 7 Add new partial file – creates a custom partial configuration file.

CAD drawing Customize User Interface 8 Load partial file – connects a partial configuration file to the main configuration file (master file).

CAD drafting Customize User Interface 9 Unload current partial file – disconnects the current partial configuration file.

Import shortcuts – loads keyboard shortcuts (combinations of hot keys for quick opening nanoCAD commands).

CAD software Customize User Interface 10 Save – saves the current configuration file.

CAD drawing Customize User Interface 11 Save as – saves the current configuration file under a different name.

CAD drafting Customize User Interface 12 Exit – exits the dialog.

File name

A drop-down list of all configuration files, the field displays the path and name of the edited cfg file. The created user interface elements are added to the selected file. By default, the current configuration file is opened.

CAD software Customize User Interface 13

 

NOTE The contents of the connected partial configuration files are displayed when you select the cfg file to which they are connected. Interface elements are changed/deleted in the file to which these objects belong, regardless of which file is currently selected.

Tabs

The dialog contains 9 tabs: Ribbon, Main menues, Toolbars, Popup menus, Accelerators, Object actions, Status bar, Rollover tooltips, Aliases

CAD drawing Customize User Interface 14

Parameters

File name

Field displays the path and name of edited CFG-file.

 

File

 

Commands to manage config files:

·         Open

·         Load partial file

·         Upload current partial file

·         Save

·         Save as…

·         Clear

·         Exit

Upper left part of dialog displays all elements of opened tab. Move selected element with drag&drop.

Upper right part of dialog contains all nanoCAD tools: commands and controls. Use them to create and edit interface objects: menus, toolbars, status bar.

There is a filter for tools:

·         Select a section to display elements of selected category.

·         Or type the template to find appropriated tools

CAD drafting Customize User Interface 15

Information about the selected element and action to be done with it is displayed in the right bottom corner of the dialog box.

 

Properties in the lower left part of dialog displays properties of selected elements; they can be edited.

CAD software Customize User Interface 16

Commands for creating and editing interface elements (menus, toolbars, status bar, etc.) are called from the context menu of the element. The composition of the context menu commands depends on the current dialog tab and the selected element.

Work with partial configuration file

       

1.      Select the CAD drawing Customize User Interface 17 Add new partial file command in the menu of the File button of the Customize User Interface dialog.

2.      In the Select File Name dialog that opens, enter the file name. Click OK.The created files located in C:\Users\User_name\AppData\Roaming\Nanosoft\Ошибка! Неизвестное имя свойства документа. 25.0\Config.

CAD drafting Customize User Interface 18

3.      Select the created file from the drop-down list in the File name field. The tabs of the new configuration file are empty.

CAD software Customize User Interface 19

4.      Create user interface elements (menus, toolbars, status bars, etc.).

5.      Save the partial configuration file using the CAD drawing Customize User Interface 20 Save command in the File button menu.

6.      Connect the partial configuration file using the CAD drafting Customize User Interface 21 Load partial file command in the File button menu. In the Open dialog box that opens, select the created partial configuration file.

CAD software Customize User Interface 22

7.      Click OK in the Customize User Interface dialog.

8.      Restart nanoCAD. The user elements are displayed in the interface.

9.      To disable a partial configuration file, select the file in the drop-down list in the File name field and then select the Unload current partial file command in the File button menu.

When manually editing the configuration file, you can include additional files using the line #include <FileName.cfg>. If the file to be included is located in another directory, you should write the full path to it.

The process of creating a custom menu, toolbar and ribbon with examples is described in the article “Creating a custom menu, toolbar and ribbon in nanoCAD”, located on the official Nanosoft development website.

Info: NanoCAD is an easy-to-use, low cost, and yet professional, CAD software tool for personal computer, that delivers a great user experience by providing enhanced performance, full capability, a classic interface and native.dwg format support. nanoCAD has been built to deliver design and project documentation for all industrial purposes. nanoCAD includes a full suite of basic and advanced CAD tools for 2D/3D drafting and creating industry-standard DWG-compatible CAD files. Our software ensures creative, collaborative and customizable features to raise your efficiency, and includes several API's, allowing anything from routine task automation to complex CAD software development. You may try nanoCad for free, using the links below, and purchase later, if you like it.