2011

Table Of Contents
Page structure of the icon menu
Each menu page starts with a menu number line preceded by two asterisks
(**). The next line is an AutoCAD Electrical code, which defines the menu
page format (such as how many rows, how many icon buttons per row). It is
used for .dat files that are used before AutoCAD Electrical 2008. The next line
is the title, with optional column labels, for the menu page. The rest of the
lines define the information for each icon button on the menu page. These
icons can either launch a command, insert a component or open a submenu.
Menu number**M0
Main menu title. In the Insert Component dialog
box, it is the main menu title in the Menu tree se-
JIC Symbols
lection view and is also displayed above the Symbol
Preview window of the dialog box.
Description text of the icon. It is also the tooltip for
the submenu page, command, or component to
Push Buttons
insert. In this example, clicking Push Buttons in the
Insert Component dialog box opens a submenu.
Image information with the syntax: slide_lib-
rary_name(slide or .png). In this example, the slide
s2(s_pb)
library (or resource dll library) is s2 and the slide
file (or .png image) is s_pb.
NOTE If both s_pb.png and s_pb.sld exist, Auto-
CAD Electrical searches for the .png file first. If not
found, looks for the s_pb.sld file.
Submenu trigger. The syntax is: $S=menu number.
In this example, menu 3 is used for push buttons.
$S=M3
It is used to develop the Menu tree structure in the
Insert Component dialog box.
Icon function - submenu trigger
Submenu number**M3
(Used for .dat files before AutoCAD Electrical 2008)
Indicates the number of rows in the menu. In
D5W
AutoCAD Electrical 2008, you can have any number
of rows or columns in your menu. This value is only
1262 | Chapter 16 Icon Menus