DGNStyler
Prepares features for output to Bentley Microstation Design V7/V8 by providing a convenient interface to set a variety of Bentley Microstation Design format-specific attributes.
Parameters – Color
Specifies that the pen color will be set by the color of the level specified on an FME Feature, rather than by the RGB color or Index color. (Note that this parameter is only supported by the V8 version of the Design writer.)
Format attribute set: igds_color_set_bylevel
Specifies format of the color to use. This applies to both the pen color and the fill color which are together used to render the feature.
Specifies the pen color that will be used to render the feature. The pen color determines the color of lines, and area boundaries. To edit this parameter, click the browse button to the right of the text field.
Format attribute set: fme_color
Note: Note that when this parameter is specified, the igds_color attribute is removed from the feature and fme_color is set. This is because igds_color overrides fme_color if they are both present.
Note: Also note that the RGB color specified by fme_color may be stored as the color table index which most closely approximates it, where the color table is defined as a specific set of RGB colors in the seed file.
Specifies the fill color that will be used for the feature. The fill color determines the color used within the boundary of area features. To edit this parameter, click the browse button to the right of the text field.
Format attribute set: fme_fill_color
Note: Note that when this parameter is specified, the igds_fill_color attribute is removed from the feature and fme_fill_color is set. This is because igds_fill_color overrides fme__fill_color if they are both present.
Note: Also note that the RGB color specified by fme_color may be stored as the color table index which most closely approximates it, where the color table is defined as a specific set of RGB colors in the seed file.
Specifies the index of a pen color in a table of colors. The indexed color will be used for the feature. The pen color determines the color of lines, and area boundaries. This parameter can be set to integer value between 0 and 255.
Format attribute set: igds_color
Specifies the index of a fill color in a table of colors. The indexed color will be used for the feature. The fill color determines the color used within the boundary of area features. This parameter can be set to integer value between 0 and 255.
Format attribute set: igds_fill_color
Parameters – Cells
If this section is active, point features will be turned into cells and given a cell name, rotation, and size.
Features with other geometry types will not be affected by settings in this section.
Format attributes set: igds_type to igds_cell or igds_shared_cell
Specifies the name of an existing Bentley Microstation Design Cell file that will be used by the transformer as a source for cell names. It is not used by the actual Design writer – the cell library file must be specified in the writer’s parameters and should contain the same cell names as the file specified here. Most often, the same file will be used in both the transformer and the writer. Further note that if no cells are to be used, then this parameter can be left blank.
Specifies the cell that will be placed at the point location. Click the browse button to pick the name from the set of cells defined in the cell library file.
Format attribute set: igds_cell_name
Specifies how a cell will be written. If a value of Library is specified, an igds_cell element is created which is expected to reference a cell definition in the cell library file. Otherwise, if a value of Shared (V8 Only) is specified, then an igds_shared_cell element is created in the destination which does not refer to a cell definition in the cell file definition. (Note that the Shared value for this parameter is only supported by the V8 version of the Design writer.)
Format attribute set: igds_type to igds_cell or igds_shared_cell
Specifies if the graphic cells are to be created as relative graphic cells. Relative graphic cells map the cell members with the lowest level number to the current cell feature's level which becomes a base level for the relative graphic cell. All the subsequent cell members have their levels offset according to the base level. This does not apply to point or shared cells. (Note that this parameter is only supported by the V8 version of the Design writer.)
Format attribute set: igds_is_graphic_cell_relative
Specifies rotation of the cell (in degrees counterclockwise from horizontal). This can be set to any floating point value between -360.0 to 360.0, or be set to a value taken from an attribute.
Format attribute set: igds_cell_rotation
Indicates how the size of the cell will be specified. If master units are chosen, then the cell will be scaled so that its range in x, y, and z covers the specified amounts. If scale factor is chosen, then the amounts in x, y, and z specify the scaling which will be applied to the cell in each of the three axes.
Specifies the sizing amount for the x axis, which can be a floating point value or taken from an attribute. Its meaning is dependent on the Block Size By setting described above.
Format attributes set: igds_cell_x_scale (if Cell Size By is Scale Factor); igds_cell_size_x (if Cell Size By is Master Units)
Specifies the sizing amount for the y axis, which can be a floating point value or taken from an attribute. Its meaning is dependent on the Block Size By setting described above.
Format attributes set: igds_cell_y_scale (if Cell Size By is Scale Factor); igds_cell_size_y (if Cell Size By is Master Units)
Specifies the sizing amount for the z axis, which can be a floating point value or taken from an attribute. Its meaning is dependent on the Block Size By setting described above.
Format attribute set: igds_cell_z_scale (if Cell Size By is Scale Factor)
Parameters – Lines
If this section is active, then linear features will be prepared for output to Bentley Microstation Design.
Features with other geometry types will not be affected by settings in this section.
Specifies an index in the range 0 to 31 which designates the width or thickness of the lines used to render a graphic element. In addition, the line weight may be set to ByLevel, which specifies that the line weight be set by the level specified on an FME Feature. Click the browse button to pick from a visual representation of the possible values.
Format attribute set: igds_weight and igds_weight_set_bylevel
Specifies an index in the range 0 to 7 which designates the style of the lines used to render a graphic element. In addition, the line style may be set to ByLevel, which specifies that the line style be set by the level specified on an FME Feature. Click the browse button to pick from a visual representation of the possible values.
Format attribute set: igds_style and igds_style_set_bylevel
Parameters – Text
If this section is active, then text features will be prepared for output to Bentley Microstation Design.
Features with other geometry types will not be affected by settings in this section.
Specifies the font that will be used for the text. Values from 0..511 are RSC fonts, while values from 512..1023 are SHX fonts, and values above 1023 are True Type fonts.
Format attribute set: igds_font
Specifies the ID of the textstyle that will be used. If a matching ID is found in the seed file, then that text style information will be applied to this text element as the default style.
Any text style options set here will take precedence over the matched default text style information.
Format attribute set: igds_textstyle_id
Specifies the size of the text, measured in ground units. This is stored as the height of the text element.
Format attribute set: fme_text_size
Specifies the width of the text, measured in ground units. If this parameter is not specified, then the Bentley Microstation Design writer uses the Text Size.
Format attribute set: igds_text_width_multiplier
Sets the justification code of the text.
Format attribute set: igds_justification
Specifies the rotation of the text string. The rotation is measured in degrees counterclockwise up from the horizontal.
Format attribute set: fme_rotation
Specifies whether or not the text should have a bold style.
Format attribute set: igds_textstyle_bold
Specifies whether or not the text should have an italic style and the angle in degrees at which the text will slant.
An angle of 30 degrees is usually used to apply an italic style.
Format attribute set: igds_textstyle_slant
Specifies whether or not the text should have an underline style.
Format attribute set: igds_textstyle_underline
Specifies whether or not the text should have an overline style.
Format attribute set: igds_textstyle_overline
Additional References
For more information about styling:
- See Bentley Microstation Design Reader/Writer > Feature Representation in the FME Readers and Writers manual. In Workbench, select Help > FME Readers and Writers Reference.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Transformer Categories
Search FME Community
Search for samples and information about this transformer on the FME Community.