Electrical Design Software | Elecdes Design Suite by Scada Systems Ltd

How to Load Additional Partial Menu Files Automatically

General

This capability exists for AutoCAD users only.

Elecdes generally loads a single menu file called SCADA.MNU that is stored in the support directory. You can cause Elecdes to automatically load additional menus of your own.

Elecdes will check the USER_SYMB directory of the EDS installation. Any .MNU file that it finds in that directory it will attempt to load. Elecdes will check the contents of the menu file for certain sections. If it finds those sections, then it will load the menu and place an entry in the AutoCAD pull-down menu bar following the Elecdes pull-down menu. The required contents of the additional menu are listed below.

Required Contents

The menu file must contain certain entries before Elecdes will load it:

  • ***MENUGROUP=XXXX

  • ***POPnn

  • **PopupMenu

These are standard features of an AutoCAD pull-down menu. Refer to the AutoCAD documentation for further information about making a partial menu file.

File naming and metric / imperial units

You may give your menu file any name that you choose, except SCADA.MNU which is the Elecdes standard menu file.

If you include "MET" or "IMP" as a distinct word in the file name, then Elecdes will check the current units of EDS and will only load the matching additional menu file. Therefore you can provide a different menu file for metric and imperial units if you require. The "MET" or "IMP" part must not be part of another word.

For example:

  • "MyMenu_MET.MNU" is classified as a metric menu.

  • "MyMenuMET.MNU" is a general menu and will always be loaded.

  • "Import.MNU" is a general menu and will always be loaded.

  • "IMP-Protection.MNU" is classified as an imperial menu.

Example additional menu:

The following is the contents of a partial menu called IMP_VHYD.MNU, that loads a slide menu of imperial hydraulic symbols that can be used by the Elecdes drawing system.

//

// Imperial Partial menu for Hydraulic Symbols

//

// IMP_VHYD.MNU

//

// (c) Scada Systems

//

***MENUGROUP=IMP_VHYD

***POP16

**HYD_I

ID_HYD0 [&Hydraulic Symbols]

ID_HYD1[&Hydraulic Symbols]^C^C(setq eds_params '("ElecdesSlides.HYD"));slide;

See also

How to customize the AutoCAD partial menu.