Validation Rules - Intergraph Smart Reference Data Standard Database - Version 12.3 - Help - Hexagon PPM

SDB for SRD Hangers and Supports Help 12.3

Language
English
Product
Intergraph Smart Reference Data Standard Database
Search by Category
Help
Smart 3D Version
13
Standard Database for Smart Reference Data Version
12.3

Validates supports. These rules implement the IHgrRule interface and return an array that contains a constant integer value (1).

The validation rules return a constant value to verify that the software reaches the end of the rule without encountering an error. If the software does not encounter an error, the support is validated.

PipeNDValidation.cs

Description

Checks that the diameter of the selected pipe is valid for the support. This rule supports metric and imperial units. The software displays a message if the selected pipe is outside the valid range.

Input

nominalPipeDiameter - The diameter for the first selected pipe

ndTo - The maximum pipe diameter available for the support

ndFrom - The minimum pipe diameter available for the support

Output

ruleResult - 1 for successful validation. If the validation is not successful, the software displays an error message.

Example

Most SDB supports use this rule. For example, the DDS_Shoe_01 support uses the PipeNDValidation rule.

Rule_ShoeValidation.cs

Description

Checks the shoe support. The software displays a warning message in the following cases:

  • The pipe insulation thickness is greater than the shoe height.

  • The supporting structure width plus the stop gap is greater than the shoe length.

Input

insulTh - The insulation thickness of the first selected pipe

shoeHeight - The shoe height of the support

supportingSectionWidth - The width of the supporting section

shoeLength - The shoe length of the support

structConn - Determines whether the stop is connect to a pipe or a structure

stopGap - The gap between the stop and the section

Output

ruleResult - 1 for successful validation. If the validation is not successful, the software displays an error message.

Example

Most SDB supports use this rule. For example, the DDS_CmbShoe_Slide_01 support uses the ShoeValidation rule.