2011

Table Of Contents
the Symbol Preview window. The second part is the slide (or .png) name.
Include the path to the .SLD. If the slide is contained within a slide library (or
resource dll library) the format here is library_name (slide_name). The third
part is the actual icon function. The function can be a symbol name to insert,
a submenu trigger, or a command. A line that looks like this can be added by
the menu wizard to insert a special switch:
Special Switch | hzs11.sld| HZS11
Icon function - execute command
Clicking on an icon in the icon menu can also execute an AutoCAD Electrical
command. The following example shows the syntax for commands:
3 Pole Disconnect |s1(shds13)|$c=wd_3unit HDS11
Description text of the icon. It is also the tool tip
for the command. In this example, clicking 3 Pole
3 Pole Disconnect
Disconnect in the Insert Component dialog box
runs a command.
Image information with the syntax: slide_lib-
rary_name(slide or .png). In this example, the slide
s1(shds13)
library (or resource dll library) is s1 and the slide
file (or .png image) is shds13.
Code that executes a command. The syntax is:
$C=command name {command parameters}. In
$C=wd_3unit
this example, the command wd_3unit is run when
the icon is clicked.
Specifies the command parameters.HDS11
1264 | Chapter 16 Icon Menus