Create a validation rule relationship - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

Use the following example to create a validation rule relationship.

  1. In the Desktop Client, find the interface definition to create the validation rule, such as IVTLCheckObjectExistsValidationRule.

  2. Select the action required, for example, CheckExists, from one of the three action enum lists: VTLObjectActions, VTLPropActions, and VTLRelActions.

    SHARED Tip You can select the action depending on what type of validation rule is required, such as an object, property, or relationship rule.

  3. Relate the IVTLCheckObjectExistsValidationRule interface to the appropriate action using a drag-and-drop operation.

    To automatically generate the validation rule relationship, relate the VTLActionVTLValidationRule to the enum CheckExists.

For more information on creating relationships, see Configuring Relationships.