# Using Multiple Cell Libraries

If you key in ACTIVE CELL <cellname> or AC=<cellname>, if the cell is not a shared cell in the design or in the attached cell library, or if there is no attached cell library, Promis.e searches for the cell in the cell library list specified by the Cell Library List configuration variable (MS_CELLLIST).

Cell libraries are searched in their order in the list. If wildcard characters are used, cell libraries are searched in alphabetical order. For example, if MS_CELLLIST expands to:

C:\ProgramData\Bentley\MicroStation CONNECT Edition\Configuration\WorkSpaces\WorkSpace1\WorkSets\WokSet1\Cell\master.cel;C:\Program Files\Bentley\MicroStation CONNECT Edition\Default\Cell\p*.cel

and the files "projcel.cel," "pipe2.cel," "house.cel," and "peter.cel" are in the ..\Default\Cell\ of Promis.e 's program directory.

Promis.e searches for a cell as follows:

1. In the attached cell library.
2. In C:\ProgramData\Bentley\MicroStation\Configuration\WorkSpaces\WorkSpace1\WorkSets\WokSet1\Cell\master.cel.
3. In C:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation\Default\Cell\peter.cel.
4. In C:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation\Default\Cell\pipe2.cel.
5. In C:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation\Default\Cell\house.cel
6. In C:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation\Default\Cell\projcel.cel.
To make it easier to attach different cell libraries, an item for each cell library in the cell library list is appended to the File menu in the Cell Library dialog.

Tip: All files in the specified directory with the ".cel" extension are listed in the File menu in the Cell Library dialog. Any cell in any listed cell library can be placed by keying in AC=<cell_name>, regardless of whether its cell library is attached.