Order in which Qualifier columns are honored in CSV remapping files.


  
 Applies To 
  
 Product(s):MicroStation
 Version(s):08.00.00.00
 Environment: N\A
 Area: Batch Processing
 Subarea: N\A
 Original Author:Bentley Technical Support Group
  

Problem

Order in which Qualifier columns are honored in CSV remapping
files. What is the order in which Qualifier Columns are honored
in CSV remapping files when elements meet the criteria set in
multiple Rows?

Product: MicroStation V8
Version: 08.00.00.00
Area: Batch Processing

Solution

1. Element Type
2. Cell
3. Class
4. Color
5. Weight
6. LineStyle

This is the order that is used if only one Qualifier is set for each
row. For example:

- A file contains a Line that is Red (Color 3) and has a Weight of 3.
- In the Level tab of the Remap CSV file has two separate Rows - One
has the Color Qualifier Column set to 3 and the other has the Weight
Qualifier Column set to 3
- When the file is remapped the line meets the criteria of both Rows.
- Since only one row can be used to map the line to an Output Level, the
order listed above is used and the Line is mapped to the Level specified
in the Row with the defined Color Qualifier Column.

Note - The order can be changed by adding more Qualifiers to a Row.
Each Column has a "weight" - the higher it is in the order, the more
"weight" it has. If one Row has more Qualifiers then another, that
Row's "weight" is increased and has a better chance of being honored
over other Rows. So if the line that was described above also uses the
LineStyle 3 and 3 is added to the LineStyle Column in the same row that
contains 3 for the Weight Qualifier (this row now has the "weight" of
both the LineStyle and Weight Qualifiers), that row will be honored
instead of the Row that contains the Color Qualifier.

It is important to know that just because a Row has more Qualifiers then
another, this does not mean that the accumulative "weight" of that Row
will be greater then a Row with fewer Qualifiers. For example, a row
that has Qualifiers set for all 6 columns except the Element Type Column
will not have more "weight" then a Row with just the Element Type
Qualifier defined. In other words, a Row that contains an Element Type
Qualifier will always be honored over all other Rows that do not contain
an Element Type Qualifier.



See Also