User-defined Copy Functions - Intergraph Smart Materials - Version 10.1 - Administration & Configuration - Hexagon

Intergraph Smart Materials Classic Administration (10.1)

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Administration & Configuration
Smart Materials/Smart Reference Data Version
10.1

Similar to CIPs (Customer Installable Procedures), you can write your own copy functions and then define them in Smart Materials to be used in the Project Setup Copy procedure. The steps to create a user-defined copy function in Smart Materials are described below.

  1. Add the procedure signature in the package specification of M_PCK_PRJ_CPY_CUSTOM. Please note that the software will not be able to pass any parameter to this procedure; hence, it should either have no parameters or it should have parameters with default values.

  2. Add the procedure body in the package body of M_PCK_PRJ_CPY_CUSTOM.

  3. Compile both the package specification and package body of M_PCK_PRJ_CPY_CUSTOM.

    If the compilation was successful and the package is valid, you can open the A.06.02.06 Project Copy Functions screen and add the new function. Please note that you should provide only the function name in the Function box. For example, if you have added the function MYCOPYFUNC in step 1, then enter only MYCOPYFUNC in the Function box, not M_PCK_PRJ_CPY_CUSTOM. MYCOPYFUNC. Further, do not check the Standard check box.

  4. Save the record.

You can add pre-requisite functions for your copy function in the Pre-Requisites section. Use the LOV to select any of the existing Copy Functions. Prerequisites are optional, so you don’t have to add functions as pre-requisites.