Add Icon - Component Dialog Box

Find

 Command entry:  AEMENUWIZ

The icon name and symbol block name are saved in the active *.dat file (such as ACE_JIC_MENU.DAT) once you click OK 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. In the Icon Menu Wizard dialog box click Add and then select Component.

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 Component.

Tip: To determine which *.dat file is active, in the Project Properties dialog box, Project Settings tab, Library, and Icon Menu Paths section, expand the Schematic Icon Menu File option. It is the schematic icon menu file listed in the *.wdp file.

Icon Details

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:

  • Browse: Finds an existing image to use for the icon. You can browse for .sld or .png images.
  • Pick: Selects an existing block name on the current drawing to use as the image file name. For example, if you select block HPB11, the image file name edit box displays “HPB11”.
  • Active: (It is unavailable if the drawing is a new drawing and was not saved) Selects the active drawing name to use as the Image file. For example, if the active drawing name is “demo005”, then the image file edit box has “demo005” listed as the file name.

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 the AutoCAD Zoom command. Once you exit Zoom 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.

Block Name to Insert

Defines the symbol block that is inserted when you click the icon in the Insert Component dialog box.

Block Name

Specifies the symbol block name. The file name of the symbol can be typed into the edit box or you can enter it using one of the following methods:

  • Browse: Finds an existing WBlocked drawing (*.dwg) file to assign to the icon. In this case the complete path of the drawing file is inserted in the edit box.
  • Pick: Selects an existing block on the current drawing (for example, block recently created with Symbol Builder). WBlocked version (.dwg) must exist.
  • Active: Inserts the active drawing as a block.