• Blog posts


    By Martin Phelps

    Adding commands to the pallet

    Option 1 Using existing commands.
    To activate the pallets either press “CTRL+3” or select “Tool Pallets” from the “View” tab of the ribbon men, as shown in Figure 1.

    Figure 1.

    With the “Pallet” on screen, right mouse click anywhere on the pallet, but depending where within the pallet the cursor is placed, will depend on which menu is displayed, but in all cases the option “New Pallet” will be available.
    Select and a “New Pallet” will be created, to complete the command, name the pallet.
    If “Block” exist in the current drawing, providing the drawing has been “Saved”, the “Block” may be dragged from the drawing directly into the “Pallet”.
    AutoCAD commands can also be added to the “Pallet” by right mouse click inside the “pallet” to display the following menu, from the displayed menu select “Customise Commands” as shown in Figure 2.

    Figure 2.

    The AutoCAD commands are now all displayed in a dialogue box, and can be dragged directly to the “Pallet” as shown in Figure 3

    Figure 3.

    This can be repeated with commonly used commands, once in the “Pallet” commands can be duplicated allowing different properties to each tool.
    For example the “Fillet” command may be added, duplicated, renamed and different properties set.
    To set the “Properties”, right click on the tool icon and from the menu select “Properties”, the “Tool Properties” dialogue is now displayed as shown in Figure 4.

    Figure 4.

    The “Command String” can now be changed.
    For example to set a specific “Radius” value and add the “Multiple” function.
    Change the command String to *^C^C_fillet;r;50;;

    (*) sets the command to “multiple”
    (^C^C) cancels the previous command twice.
    (Fillet) is the specified command.
    (;) is used as return.
    (r) to use the fillet, Sub command radius
    (50) set the radius value

    This is ideal if the same size fillet is required time after time.
    Another way of adding a command, for example a line, is to draw the item on the required layer then drag the line in to the “Pallet”.
    The “Properties” given to the “Line” are retained in the “Pallet”, when the command is used again the layer on which the “Line” was drawn is automatically made current.

    Option 2 Using existing components
    Objects, for example a line which has been drawn on a specific layer, in this case drawn on layer “Outline” and has been allocated the colour green “Bylayer”, can be dragged into the “Pallet”, as shown in Figure 5.

    2017-06-13_15h10_38.pngFigure 5.

    By selecting the new Line icon that appears in the Pallet the “Layer” properties are retained, the advantages, are if a different layer is current by selecting the new “Line” icon the layer that has been allocated to the “Line” is automatically made current, therefore the user is automatically working on the correct layer.
    Another advantage is, if the layer does not exist in the current drawing, by using the newly created tool the layer with its set properties is automatically created.



Please sign in to leave a comment.