Open API - Intergraph Smart Materials - Version 2020 (10.0) - Help - Hexagon PPM

Intergraph Smart Materials Classic Help (2020)

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Help
Smart Materials/Smart Reference Data Version
2020 (10.0)

These PLL API packages can be used to update selected columns of tables containing information for lines, line attributes, DNs, DN attributes and branches. As a record of type table is used as parameter, the packages allow you to update varying numbers of columns by a single call.

These updates are processed in the same way as in the corresponding Smart Materials screens. All validity checks that are performed in the screens are done here as well. If any update triggers updates of other columns in a screen, this will happen here, too.

Prior to updating any field ALL data are validated. Only if no error at all is found the update is performed. All errors that are found will be listed so that an iterative process of correcting data is avoided.

All packages also provide the possibility to insert records. When inserting a record you only have to pass those column names and their values to the procedure you want to be filled or that may not be set to NULL. The remaining columns will be inserted with NULL or will be filled with default values.

All packages are called m_api_pll_xxx. You must replace xxx with the table short name of the table columns of which are to be changed. For example, the package for changing columns in table m_pll_lines is called m_api_pll_lines. In the More Information section, you find a full list of all available packages.