Making a custom panel

If you look at the Home tab, you will find panels such as Draw, Modify, and Annotation. These panels contain the default AutoCAD commands, but now we will add our own custom panel to this list of panels, and we will also add our own list of commands to this panel. Follow these steps:

  1. To make the customization go to the Manage tab and select the User Interface tool from the Customization panel, as shown in Figure 8.24, or use its command alias, CUI:

Figure 8.24: User Interface option on the Customization panel of the Manage tab 
  1. In the Customize User Interface window, select the Customize tab from the top of the window and then expand the Ribbon tree, as shown in Figure 8.25:

Figure 8.25: Ribbon tree expanded in the Customize tab
  1. Right-click on the Panels option from the Ribbon tree and select New Panel from the menu. The panel will be added to the bottom of the list of panels in the panel tree; give it a name. For this example, name it Sample Panel.
  2. Now, that we have a new panel, it’s time to add the commands to this panel. Go to the Command List panel and search for the command you want to add in the search bar, as shown in the yellow box of Figure 8.25.
  1. In this case, I will start by searching for the Purge command in the command list search box. There may be more than one command in the list of commands. Select the one you need, then right-click on it and select Copy from the context menu, as shown in Figure 8.26:

                

Figure 8.26: Copy the command using the right-click menu
  1. Now, click on Row 1 under Sample Panel, and from the right-click menu select Paste, and the command will be added to the newly created Sample Panel, as shown in Figure 8.27:

                  

Figure 8.27: The Purge command added to Sample Panel
  1. Repeat the process to add other commands to Row 1 of Sample Panel. In this example, I have added the Circle command and the Units command to the first row.
  2. Right-click on Sample Panel and then select New Row from the menu. A new row will be added to Sample Panel. You can add more commands to this new row, and you can create as many rows as you want.
  3. To add the commands in the expanded panel, copy the command and paste it in the <SLIDEOUT> option of Sample Panel.
  4. When you are done adding commands to the panel, right-click on Sample Panel and select Copy from the context menu. Now, collapse the Panels tree by clicking the - sign next to the panels, and then expand the Tabs tree under Ribbon in the customization panel, as shown in the red box of Figure 8.25.
  5. Select the Home – 2D tab, right-click on it, and select Paste from the context menu. You will notice that Sample Panel will be added to the bottom of the list of panels on the Home—2D tab, as shown in Figure 8.28:

                      

Figure 8.28: Sample Panel added to the Home tab 
  1. Click OK to close the Customize User Interface window. If you look at the Home tab now, you will find your own Sample Panel with your selected set of commands on it, as shown in Figure 8.29. You can now select the commands from this panel just like any other command:

                               

Figure 8.29: Sample Panel at the end of the Home tab with selected commands 

To delete the panel, go to the Customize User Interface window, expand the Panels tree under the Ribbon tree, and select Sample Panel from the bottom of the panel list. Then right-click on it and delete it. Click OK to close the Customize User Interface window, and you now have the default Home tab without Sample Panel.

This is one of the customizations that you can implement in AutoCAD. There are other customizations as well. So, let's now discuss customizing the user interface with existing panels and toolbars, and then we will learn how to save these customizations as a workspace in the next section.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.122.4