Dimensions

igds_type: igds_line

Dimensions elements are represented in FME with an igds_type of igds_line but the fact that they are dimensions can be detected from the igds_element_type which is type 33. However, the attributes of dimension features from the reader contain all the information to define a dimension element. So features with such attributes may have null geometry and still be passed to the DGNV8 writer to create dimension elements.

The parameter Drop Dimensions controls the way the dimensions are imported. When the checkbox is enabled (the default), the dimensions are exploded into its pieces; when it is disabled, it is imported as an aggregate.

When dimensions are imported as aggregates, the arcs are stroked and text features are output as list attributes only. Therefore, when performing a DGN-to-DGN translation with the option Drop Dimensions unchecked (set to No), the text features will be lost. When reading dimensions from a V7 dataset, the dimensions are ignored if they are part of a cell. If the directive READ_BYTE_OFFSET is set to True, then the dimensions will also be ignored.

A dimension element has the following attributes:

Attribute Name

Contents

igds_dim_text{#}.font

igds_dim_text{#}.original_justification

igds_dim_text{#}.text_size

igds_dim_text{#}.text_width_multiplier

igds_dim_text{#}.text_used_string_len

igds_dim_text{#}.text_rotation

igds_dim_text{#}.text_insertion_x

igds_dim_text{#}.text_insertion_y

igds_dim_text{#}.text_string

Stores the standard attributes of the text member of the dimension. For example, font, original justification, size and width, etc.

igds_dim_refx{#}.pt.x

igds_dim_refx{#}.pt.y

igds_dim_refx{#}.pt.z

igds_dim_refx{#}.base_offset

igds_dim_refx{#}.base_offset_y

igds_dim_refx{#}.segment_text_offset

igds_dim_refx{#}.flags

igds_dim_refx{#}.primary_text_string

igds_dim_refx{#}.rxflags.associative

igds_dim_refx{#}.rxflags.justification

igds_dim_refx{#}.rxflags.upperText

igds_dim_refx{#}.rxflags.lowerText

igds_dim_refx{#}.rxflags.relative

igds_dim_refx{#}.rxflags.mode

igds_dim_refx{#}.rxflags.hide_extension (deprecated)

igds_dim_refx{#}.rxflags.use_text_margin (deprecated)

igds_dim_refx{#}.rxflags.primary_text_exists (deprecated)

igds_dim_refx{#}.rxflags.display_primary_plus_tolerance (deprecated)

igds_dim_refx{#}.rxflags.display_primary_minus_tolerance (deprecated)

igds_dim_refx{#}.rxflags.secondary_text_exists (deprecated)

igds_dim_refx{#}.rxflags.display_secondary_plus_tolerance (deprecated)

igds_dim_refx{#}.rxflags.display_secondary_minus_tolerance (deprecated)

Stores the attributes of reference points as list attributes of the dimension. Among these, the primary text string may exist as the text for the dimension, as an alternative to the measured distance.

The relative flag indicates that additional refx points for the dimension are stored as relative to the first point. However, they are made absolute when reading in FME, and converted back to relative on write, if the flag attribute is set to > 0.

igds_dim_type

Type of dimension to draw.

Range: 1..53

Default: No default

igds_dim_scale

 

Scale of dimension

Range: Any real number > 0

Default: No default

igds_dim_style

Style of dimension

Range: Any real number > 0

Default: No default

igds_dimstyle_center_mark

Range: 1/0 (1 bit)

Default: 0

igds_dimstyle_center_bottom

Range: 1/0 (1 bit)

Default: 0

igds_dimstyle_center_left

Range: 1/0 (1 bit)

Default: 0

igds_dimstyle_center_right

 

Range: 1/0 (1 bit)

Default: 0

igds_dimstyle_center_top

Range: 1/0 (1 bit)

Default: 0

igds_dimstyle_first_term

 

The style of the terminator at the beginning of the dimension text.

Range: 0..7

Default: 0

igds_dimstyle_left_term

The style of the terminator at left end of the dimension lines.

Range: 0..7

Default: 0

igds_dimstyle_right_term

The style of the terminator at right end of the dimension lines.

Range: 0..7

Default: 0

igds_dimstyle_left_witness

 

If set, a witness line is placed at the left or start of the dimension line.

Range: 1/0 (1 bit)

Default: 0

igds_dimstyle_right_witness

 

If set, a witness line is placed at the right or end of the dimension line.

Range: 1/0 (1 bit)

Default: 0

igds_dimstyle_prefix_symbol

 

The style of the symbol optionally placed before the dimension text.

Range: 0..7

Default: 0

igds_dimstyle_postfix_symbol

 

The style of the symbol optionally placed after the dimension text.

Range: 0..7

Default: 0

igds_dimstyle_vertical_text

 

Specifies that the dimension text should be vertical. That is in line with and above the witness line.

Range: 1/0 (1 bit)

Default: 0

igds_dimstyle_nofit_vertical

 

Specifies that the dimension text should be vertical if it does not fit horizontally in the dimension line.

Range: 1/0 (1 bit)

Default: 0

igds_dim_weight

Weight of dimension

Range: 0..31

Default: 0

igds_dim_color

Color of dimension

Range: 0..254

Default: 0

igds_dim_primary_accuracy

Primary accuracy of dimension

Range: Unsigned 16-bit integer

Default: None

igds_dim_secondary_accuracy

Secondary accuracy of dimension

Range: Unsigned 16-bit integer

Default: None

igds_witness_line_offset

Offset distance of witness lines from the dimension line.

Range: Real Number >0

Default: None

igds_witness_line_extension

Witness line extension distance

Range: Real Number >0

Default: None

igds_base_to_text_dist

Base to text distance

Range: Real Number >0

Default: None

igds_leader_to_text_dist

Leader to text distance

Range: Real Number >0

Default:None

igds_text_min_leader

Text minimum leader size

Range: Real Number >0

Default:None

igds_arrow_width

Dimension arrow width

Range: Real Number >0

Default:None

igds_arrow_height

Dimension arrow height

Range: Real Number >0

Default:None

igds_center_mark_size

Center mark size

Range: Real Number >0

igds_base_line_cos_value

Cosine value of bearing angle of base line.

Range: Real Number, -1..1

igds_witness_line_cos_value

Cosine value for bearing angle of witness line.

Range: Real Number, -1..1

igds_base_line_sin_value

Sine value of bearing angle of base line.

Range: Real Number, -1..1

igds_witness_line_sin_value

Sine value of bearing angle of witness line.

Range: Real Number, -1..1

igds_quat.w

igds_quat.x

igds_quat.y

igds_quat.z

Components of quaternion for 3D orientation

Range: Any real number

igds_view_id

To allow to align by view

Range: 1 character (1 byte)

igds_num_ref_points

Number of reference points

Range: Any real number

igds_options_count

Count of options

Range: Any real number

igds_dim_text_width

Width of text member

Range: Real number > 0

igds_dim_text_height

Height of text member

Range: Real number > 0

igds_text_font

Font of text member. See Text Nodes and Text Strings: igds_font.

Range: 0

igds_text_color

Color of text member

Range: 0..254

igds_text_weight

Weight of text member

Range: 0..31

igds_use_text_color

Use text color and not the dimension element color

Range: 1/0 (1 bit)

igds_use_text_weight

Use text weight and not the dimension element weight

Range: 1/0 (1 bit)

igds_dim_textstyle_id

 

The ID of the textstyle used for the text portion of a dimension element.

Range: Integer

Default: None

igds_dim_freezegroup

 

Set to non-zero to freeze a dimension so that it will not draw.

Range: Unsigned 32-bit integer

Default: None

igds_dim_stack_offset

 

The distance between the dimension lines in a stacked dimension.

Range: Real number

Default: 0.0

igds_dim_version

 

The version of the dimension.

Range: 8-bit integer

Default: None

igds_dual_format

 

Sets the dual format of the dimension.

Range: 0..3 (2 bits)

Default: 0

igds_use_comma_not_point

 

Set to 1 to use a comma instead of a period for metric dimension text.

Range: 1/0 (1 bit)

Default: 0

igds_measure_angle

Specifies that a dimension element measures an angle, instead of a distance.

Range: 1/0 (1 bit)