MicroStation CONNECT Edition Help

Shared Cells

If Place as Shared Cell is on in the Place Active Cell tool settings window, cells are placed as shared cells.

What Is a Shared Cell?

The first time you place a cell with Place as Shared Cell on, the shared cell definition (elements comprising the cell) is stored in the DGN file in much the same way as it is stored in the cell library. To place subsequent instances of the shared cell, the cell library does not need to be attached. In other words, a shared cell can have many instances in a DGN file but only one definition. When a shared cell instance is replaced using the Replace Cells tool, all instances of the cell are replaced.

For an unshared cell, on the other hand, the library definition is stored in the DGN file each time the cell is placed. Using shared cells can therefore be a way to reduce DGN file size. The reduction is greatest in files with cells that have a large number of component elements and/or instances.

Note: It is not necessary to know where the shared cell definition is in the DGN file; identifying any instance of the shared cell identifies the actual definition.

Reasons to Use Shared Cells

The use of shared cells is recommended for these reasons:

  • Shared cells are faster to place and manipulate than unshared cells. The first time a cell is placed in the DGN file, the cell library in which it is stored must be attached. If the cell is placed as a shared cell, it is not necessary to have the cell library attached to place additional instances of that cell.
  • All instances of a shared cell in the DGN file are replaced when any instance of that shared cell is replaced.
  • Shared cells can be associated with points on other elements, if Association Lock is on. For example, if a shared door cell is placed in a wall and associated with that wall, the door will automatically move if the wall is moved.
  • Shared cells usually reduce DGN file size, thereby improving performance.

Shared Cells and Element Attributes

A shared cell has "overrides" for color, style, weight, and level that can be used in place of these attributes on the elements in the shared cell definition. There is no override for things like transparency, priority, or element class. These come from the definition of the elements in the shared cell. If you want to create a transparent shared cell you need to change the element’s definition in the shared cell.

SET SHARECELL [ OFF | ON | TOGGLE ]