2012

Table Of Contents
A - Mouse buttons
I - Image tile menus
T - Tablet menus
The syntax for the swapping of partial menus is as follows:
$section=customizationgroup.menuname
section
B1-4, A1-4, P0-16, T1-4
customizationgroup
Customization group name in the desired CUIx file
menuname
Main label or alias
You can use the AutoLISP menucmd function to insert or remove a pull-down
menu. The syntax is similar to that used to swap pull-down menus except
that the left side of the assignment is the pull-down menu before which the
new menu will be inserted. The right side of the assignment is a plus sign (+)
followed by the name of the menu group, a period, and the menu's alias, as
shown in the following syntax:
(menucmd "customizationgroup1.menuname1=+customizationgroup2.menun
ame2")
You can also insert a menu with the Pn= syntax. The following macro inserts
a menu after the P5 menu.
(menucmd "P5=+mymenu.new3")
$P5=+mymenu.new3
If you use this method to insert a menu, remember that you cannot rely on
its being inserted at the P6 menu location as you might expect. There are two
reasons that this may not be the case.
If the current menu bar has only three menus, inserting a menu after menu
P5 results in the new menu's location being P4.
If the user inserts or removes a customization file with the CUILOAD
command or when another application inserts or removes customization
files, menu numbering can get out of sync.
Pull-down and Shortcut Menus | 291