About View Update Rules

Multi-Discipline Drafting lets you change the color of a pipe or a Structure Functional Design part, and change graphic properties such as line color, line width based on the rules.

In this context, a rule is an association of the specification of the objects on which an action is being applied, and the specification of the action.

This page discusses:

See Also
Creating View Update Rules

View Update Rule Concepts

An object specification (condition) can be any of the following: A selected object in the view or a Knowledgeware rule.

  • Object Specification by selecting an object : During view creation or modification, you can select an object in the view or from the 3D area to apply the rule. For example, color PIPE-1 to BLUE. Select PIPE-1 as condition and specify the area fill action.
  • Object Specification by a Knowledgeware rule: A specification (condition) that must be applied on the object based on the parameters or object type. Knowledgeware rule can be used to specify such rules.

The following view actions are supported by the view rules:

  1. Graphic Properties:
    • Line color: 2D geometry line color.
    • Line type : 2D geometry line type.
    • Line width: 2D geometry line width.
    • Layer: 2D geometry line layer.
    • HLR Priority: Priority of 3D geometry over a hiding object to define that an object is not hidden.
  2. Inhibit View Operator:
    • Inhibit the component geometry clipping by the clipping planes.
    • Inhibit the component geometry clipping by the clipping boxes.
    • Inhibit the component geometry breaking by the break out operation.
  3. Area Fill: Area fill the 2D geometry of the component geometry.

    Note: In the case of an area fill on the feature level, exclude the VPMRepInstance and VPMReference as it results in creating duplicated area fills.

  4. No Show: Hide the component geometry in the 2D view.

Result of area fills based on the rules:



View Update Rule Execution Order

If the view has more than one rule, the execution order of these rule is based on the following order.

All the rules with object specification as selected object are executed first. Then the rule with object specification as KWE script are executed.

If the rule type is same, the execution of the rule is based on the order in the rule list of tree.

For Example: If the rule has the following rules in order:

  • Rule 1: Pipe 1 to blue (object selection)
  • Rule 2: Pipe 20 to green (object selection)
  • Rule 3: All pipes under fuel oil piping system to yellow (KWE script)
  • Rule 4: All pipes to brown (object selection)

Pipe 1 is colored blue, pipe 20 is colored green, all pipes under fuel oil piping system to yellow, other pipe except pipe 1 and pipe 20 and under fuel oil piping system is colored to brown. If the above order is changed as shown below:

  • Rule 1: Pipe 1 to blue (object selection)
  • Rule 2: Pipe 20 to green (object selection)
  • Rule 4: All pipes to brown (object selection)
  • Rule 3: All pipes under fuel oil piping system to yellow (KWE script)

The result is as follows: Pipe 1 is colored to blue, pipe 20 is colored to green, other pipes except pipe 1 and pipe 20 are colored to brown.

The rule 3 is ignored as the third rule is rule 4. The condition on the rule is true for all the pipe including the pipe under the fuel oil piping system.

While updating the view, for the pipes under the fuel oil piping system the rule 3 is checked and it is true, the rule action area fill to brown is applied. Next rule (rule 3) is ignored.

Note: You can reorder the rule using the arrows in the View Update Rule dialog box.