Modify the Default Measurement Collection - Intergraph Smart Review - Help

Intergraph Smart Review Help

Language
English
Product
Intergraph Smart Review
Search by Category
Help
SmartPlant Foundation / SDx Version
7.1 (2018 R1)
Smart Review Version
13.x(2018)

Smart Review supports the following ways for changing the initial format readout of the default measurement collections.

  • Use the Edit Measurement Collection command to edit the Readout setting of the Default collection. This setting is saved for all future sessions.

  • Modify SPRSchema.txt file (delivered with Smart Review) to create a project-specific database schema file. This file specifies your required initialization format value.

  • You cannot rename a measurement collection.

Creating a project-specific file only works if you have not yet changed the Default Measurement Collection readout format using the Tools > Measure > Edit Collections command as described above. The Readout setting from the Measurement Collections dialog box overwrites the values defined in the SPRSchema.txt file.

Use the Edit Measurement Collection Command

  1. Click Tools > Measure > Edit Measurement Collections.

    You can also access this command by pressing Shift+F8 or by clicking Edit Measurement Collections on the Tools toolbar.

  2. Make sure Default is the Collection name on the Measurement Collections Dialog Box.

  3. Click the Format tab.

  4. Select the Readout format to use, and then type in the Precision.

  5. Click OK.

Create SPRSchema.txt

SPRSchema.txt is a database file that can specify the default measurement collection on either a global or per project basis.

  1. To create a custom SPRSchema.txt file, you can do the following:

    • Edit the SPRSchema.txt file delivered in the Smart Review installation folder. All new projects default to use the settings defined in this SPRSchema.txt file. These settings are used for all new Default measurement collections.

    • Copy the delivered SPRSchema.txt file to your project-specific folder, and then edit it.

    • Copy the delivered SPRSchema.txt file to another common folder and then edit it. When creating new project databases, specify this customized SPRSchema.txt in this common folder so those projects get the specified readout value for the Default measurement collections.

  2. To edit the file, go to the measurement_style table.

  3. Change the readout_format field to the required default setting. For example, to always initialize to feet (ft), change the readout_format field specification from the delivered default of 0:

    readout_format

    dbLong

    NONULL

    0

    To 65:

    readout_format

    dbLong

    NONULL

    65

    The readout_format default value can be any one of the values listed in the Format Readout table.

    Format Readout Table

    Value

    Format Readout

    59

    m (meters)

    60

    nm (nanometers)

    61

    mm (millimeters)

    62

    cm (centimeters)

    63

    km (kilometers)

    64

    in (inch)

    65

    ft (foot)

    66

    yd (yard)

    67

    mi (mile)

    68

    tenth

    69

    Hundredth

    70

    Thousandth

    71

    Rod

    72

    Pole

    73

    Link

    74

    Chain

    76

    Furlong

    361

    foot_symbol

    362

    inch_symbol

    4264

    ft-in (feet-inches)

    4265

    ft-in (fractional) (fractional feet, inches)

    4266

    ',"" (fractional) (fractional feet, inches symbols)

    4267

    '," (feet, inches)

    4268

    in (fractional) (fractional inches)

    4269

    MU:SU:PU (Master Units:Sub-Units:Positional Units)

    If the value is not recognized by Smart Review as valid, Smart Review uses the native format readout of the project for the Default measurement collection.

  4. When you have edited the file as needed, open your project in Smart Review.

  5. Click the Database tab on the Create Project dialog box, and select the modified SPRSchema.txt in the Project schema field.

    Smart Review uses the readout format from the selected SPRSchema.txt file for the Default Measurement Collection if you have not yet set a different readout using the Edit Measurement Collection command to edit the Readout setting of the Default collection.

    You can copy the delivered SPRSchema.txt file to another common folder, and then edit it. When creating new project databases, specify this customized SPRSchema.txt in the common folder. This enables all those projects to get the same new readout format in the Default measurement collections.