An icon can be configured to trigger an AutoCAD command, trigger an AutoCAD Electrical toolset command, or run a script file. The icons that trigger insertion of multi-pole schematic symbol assemblies, one-line symbols, and panel footprints are examples that require encoding of special AutoCAD Electrical toolset commands.
The icon name and command string are saved in the active *.dat file (such as ACE_JIC_MENU.DAT) once you click OK on the Icon Menu Wizard dialog box. The icon then displays at the end of the existing icon images in the Symbol Preview window of the Insert Component dialog box.
Select the menu file to modify and click OK. On the Icon Menu Wizard dialog box click Add, and then select Command.
You can also access this dialog box by right-clicking in the Symbol Preview window of the Icon Menu Wizard dialog box and selecting Add Icon Command.
Defines the icon name and image.
Preview |
Displays an image preview of the specified image file. |
Name |
Specifies the name to appear in the icon, the description text, and the tool tip for the icon. |
Image file |
Specifies the image file to use for the new icon. You can enter the image file name (or complete path) or select it using one of the following methods:
The browsed image is copied to the Images folder and saved as a relative path in the .dat file. Enclose the image path in quotation marks if you do not want the image copied to the Images folder. Save the complete path instead of the relative path in the .dat file. The entered image file name can be names like "PB1" or "CONTROL RELAY," file names with an extension such as “pb1.png,” or it can follow the syntax {slide_library or dll file (slide or .png)}. For example, "S2(pb)" or "S7(control_relay)."
Note: The image file name cannot contain invalid characters such as \ / : " ? < > | and only .png and .sld image files are supported.
|
Create PNG from current screen image |
Creates the .png image file from the current screen image. If the specified image file does not exist, this option is selected by default. If you do not want to create the icon from the displayed image of the current drawing, clear the check box.
Note: This option is unavailable if you enter an image file name with the syntax {slide_library or dll file (slide or .png)}” For example, “S2(pb)” or “S7(control_relay)”. It is also unavailable if the Image File edit box contains the image file path instead of the image file name.
|
Zoom |
(Available only when Create PNG from current screen image is selected.) Zooms in on the current screen image using AutoCAD Pan command. Once you exit Pan mode and press Enter, the dialog box redisplays so you can finish defining the new icon. |
Location |
(This option appears once the Image file is specified.) Indicates the full path of the image file location where the new images are created or the browsed images are copied to. If you entered a file name with the syntax {slide_library or dll file (slide or .png)} for the image file, the path of the .dat file or the WD_SLB folder displays here. |
Command |
Specifies to start an AutoCAD command or AutoCAD Electrical toolset routine. You can enter the command name to execute with arguments. Click List to select from a list of AutoCAD Electrical toolset commands for panel, schematic multi-pole symbol, and one-line symbol inserts. It makes it easier for you to build the appropriate command to insert a symbol. |
Parameters |
Displays the command parameters for a specific AutoCAD Electrical toolset command. If the command does not have any parameters, the value “none” displays. |