Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Unified Engineering

Selective Style Allocation

  • Last UpdatedApr 27, 2023
  • 2 minute read

Style references can be applied selectively using PML expressions, for example: :

USE /S3 FOR ALL BRAN WITH (PSPE EQ /RF150 )

USE S4 FOR ALL BRAN WITH ((HBORE LE 50) OR (TBORE LE 50)

USE S5 FOR ALL BRAN WITH ((HBORE GT 80) AND (TBORE GT 80)

USE /S6 FOR ALL BRAN WI ((PSPE EQ /RF200) AND ((HBOR GT 60)

OR (TBOR GT 60)))

USE /S7 FOR ALL SCTN WI (CUTL GT 5000)

USE /STYLE1 FOR ALL BRAN WI (ISPE EQ NULREF)

Note:
For full details of using expressions, refer to General Commands for further information.

The comparators available are: EQ, NE, LT, LE, GE, GT (although in some instances only EQ and NE are valid).

  • Each logical expression can be preceded by NOT, for example:

    WI (PSPE EQ /RF300 AND NOT BUILT)

  • The operands on either side of a comparator are interchangeable, for example:

    WI (PSPE EQ /RF300

    is equivalent to

    WI /RF300 EQ PSPE

    WI (ABORE GT 80)

    is equivalent to

    WI 80 LE ABORE

    Note:
    That it is possible to apply a selection criterion to a list of class types by enclosing them in brackets, for example:

    USE /ST1 FOR (ALL BRAN ALL SUBS) WI (ZONE EQ /ZONE.PIPES)

    Without the brackets the selection criterion is only applied to SUBS.

    Selection criteria must not be used unnecessarily. For example, if you wish to draw small-bore Branches in style /ST1 and the rest in style /ST2, it is only necessary to say:

    USE /ST1 FOR ALL BRAN WI (HBOR LE 80 OR TBOR LE 80)

    USE /ST2 FOR ALL BRAN

    As long as the criteria are defined in this order, all small-bore Branches match the first criterion and the rest, having failed to match the first criterion, match the second.

TitleResults for “How to create a CRG?”Also Available in