03.01.2013 Views

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

eferencing. Using this method, you can insert the new menu in front of a<br />

known menu and then remove the known menu.<br />

For menu-swapping purposes, the pull-down menu areas are named P1 through<br />

P16. You can change the title that appears in the menu bar by replacing that<br />

line of the menu with a $Pn= command. You can use the special command<br />

$Pn=* from within any command to force the menu currently assigned to area<br />

POPn to pull down for greater flexibility in movement of the pointing device.<br />

The following macro example replaces a menu at position P3 with the menu<br />

named MyMenu in the customization group named MYMENU.<br />

$P3=mymenu.new3<br />

You can use the $Pn=* special command from within any macro to force the<br />

menu currently assigned to area POPn to be displayed.<br />

NOTE The swapping of pull-down menus does not conform to the Microsoft ®<br />

user interface guidelines and is not guaranteed to be available in future releases<br />

of the program.<br />

Insert and Remove Pull-Down Menus<br />

Menu swapping is done by activating one menu directly from another menu.<br />

Menu swapping is supported for the following interface elements:<br />

■ B - Buttons<br />

■ P - Pull-down menus<br />

■ A - Mouse buttons<br />

■ I - Image tile menus<br />

■ T - Tablet menus<br />

The syntax for the swapping of partial menus is as follows:<br />

$section=customizationgroup.menuname<br />

section<br />

B1-4, A1-4, P0-16, T1-4<br />

customizationgroup<br />

<strong>Customization</strong> group name in the desired CUIx file<br />

menuname<br />

Pull-down and Shortcut Menus | 231

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!