You are here: FME Readers and Writers > Bentley MicroStation Design Reader/Writer > Feature Representation > Cells

Cells

igds_type: igds_cell

Cells correspond to IGDS element type 2. The FME feature used to hold a cell element does not contain the complete set of elements which make up the cell’s definition. Instead, FME features representing IGDS cells contain only the cell’s name, as well as rotation and scaling parameters. The IGDS reader skips all elements that define the cell (extracting only the text strings from any text elements in the cell), and the IGDS writer extracts the cell description from the supplied cell library to be output. Cell features are point features and have only a single coordinate. Writing of named cells is not currently supported by the V8 writer. However, the V8 writer can successfully handle unnamed cells (groups).

The IGDS reader may be set to expand cells. If the mapping file contains a yes setting for IGDS_EXPAND_CELLS, then each member element of the cell is read and output. However, the cell insertion point itself is not output. In addition, the cell members are assigned a unique cell sequence number in the igds_cell_sequence_number. This number can be used to later regroup the cell components if that is required.

If the setting for IGDS_EXPAND_CELLS is no, then only the cell insertion point is output.

Both graphic and point cells are supported. Graphic cells use the level, color, and style information from the cell library, and must always have a feature type of 0. Point cells use the level, color, and style information provided in the mapping file. Note that for point cells, when cell header is assigned igds_color then this color is assigned as fill_color to all of its members capable of having fill_color i.e. shapes etc. If the cell header had igds_fill_color then it gets ignored.

Both V7 and V8 can write cells. V8 can also preserve the cell structure. For example, if the cell had any nested cells, complex chains or complex shapes, then the whole nesting is preserved.

The IGDS reader also supports orphan or unnamed cells and is controlled by the keyword IGDS_EXPAND_UNNAMED_CELLS. A named/unnamed cell can have further nested named/unnamed cells. The way the IGDS Reader treats them, depending on their respective keywords, is explained in these sections: