CONVERT_BORE_UNIT_TO_UNIT - Intergraph Smart Materials - Version 10.2 - Customization & Programming - Hexagon

Intergraph Smart Materials Customization (10.2)

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Customization & Programming
Smart Materials/Smart Reference Data Version
10.2

Description:

This function is executed when the export unit is set for an export job on the SPIso Export Jobs screen. The purpose is to convert all bore values from source unit to target unit. The used unit codes for conversion may vary depending on the customer's database. Here unit codes IN and MM are used to identify the correct S.40.04.xx conversion table.

Parameters passed in:

  • p_from_unit_id - current unit ID to be converted

  • p_to_unit_id - identifies the unit ID for output

  • p_value - value to be converted

This code is not maintained by Intergraph; as with all CIP code, it is the customer's responsibility to use this API and maintain their custom code. Customers must save their code as text files, because Smart Reference Data and Smart Materials database migration overwrites it without any warning.

This function must not commit. Otherwise, the export job may not work properly.

Type:

Function

Usage:

XI3020 Export Jobs

Event:

Export specification

Default:

The input value converted to the target unit