Create the Units of Measure Conversion File for Smart 3D Projects - Intergraph Smart Review - Help

Intergraph Smart Review Help

Language
English
Product
Intergraph Smart Review
Search by Category
Help
SmartPlant Foundation / SDx Version
10
Smart Review Version
2020 (15.0)

If you used the SPRDirect method in Smart 3D to generate the VUE and MDB2 files, you do not need to use the UoM Converter utility. With SPRDirect, attributes (custom and standard) and measurement units are set up in the Smart 3D application and generated in an MDB2 database file. For more information about using SPRDirect, see Using SPRDirect in the Smart 3D Integration Guide.

  1. Select Start > Intergraph Smart Review > UoM Converter to open the UoM Converter dialog box.

    Smart Review provides a sample P3DComponet.xml file. When you first open the UoM Converter utility, this sample file is used and the Conversion rules section in the dialog box is automatically populated with the available sample measurement units.

  2. In the Schema file name (P3DComponent.xml) box, browse to the P3DComponent.xml file that you want to use to customize the units of measure. A P3DComponent.xml file is generated when you create project files in Smart 3D and it contains the schema information related to the Smart 3D project.

    The UoM Converter utility only reads P3DComponent.xml for the schema filename.

    After you select a P3DComponent.xml file, the Conversion rules section is automatically populated with measurement units. All the measurement units and related unit types that are used in the selected Smart 3D project file display.

  3. In the File output directory box, browse to or type in the location for the UoMConversions.xml file, which is the conversion file generated by the UoM Converter utility. The file is read by Smart Review when the Smart 3D project file is opened.

    • For Smart Review to use the conversion file, it must be placed in either the directory containing the Smart 3D project file you are importing into Smart Review, or the directory where the Smart Review executable file is installed.

    • If you save the file to a different location, you must manually move the UoM_converter_utility.xml file to one of the two above locations before you open the project file in Smart Review.

    • You should not change the name of the UoMConversions.xml conversion file. The file is automatically created when you save your changes in the UoM Converter dialog box.

    • If you do not specify an output directory, the UoMConversions.xml file is saved in the root directory where the UoM Converter utility is installed.

  4. The Conversion rules section is where you set your conversion changes or rules:

    1. Move to the row containing the units that you want to change.

    2. Click in the Convert From box to display a pull-down list containing units that relate to the selected measurement type. Select the unit that you want to convert.

    3. Click the Convert To box to display a pull-down list containing related units. Select the unit that you want to use.

    4. In the Precision box, type in the number of decimal places (0 - 30) to use to format the measurement value. The measurement value is rounded to fit the selected precision. If no value is entered, the Default precision value is used.

    5. Repeat steps a-d for each unit of measure that you want to convert. All changes are marked in red text.

  5. Use CTRL+ or SHIFT+ to select all the rows you edited and click Add.

    You can also click and hold your mouse button to select multiple rows.

    All selected rows are placed in the Conversion rules in effect section.

  6. If you want to append or replace conversion rules in effect from another UoMConversions.xml file created using the UoM Converter utility, click Load. Otherwise, skip to step 9.

  7. Browse to the location of the other UoMConversions.xml file and click Load.

    A message box displays to ask you if you want to Append or Replace the conversion rules you have set in the Conversion rules in effect section.

  8. Click Yes to append the conversion rules to the bottom of the Conversion rules in effect list.

    If you select No, then the current conversion rules are replaced by those in the other file.

  9. To remove one or more conversion rules in the Conversion rules in effect section, select the row(s) and click Delete.

  10. Click Save to save your conversion rules to the UoMConversions.xml file.

    This file can now be used and read by Smart Review the next time the Smart 3D project file is opened.