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

AVEVA™ Unified Engineering

Name Lookup Rules

  • Last UpdatedMay 02, 2022
  • 2 minute read

Name Lookup Rules are used to find the corresponding schematic object for a 3D object. Their main application is to find the schematic pipeline for 3D pipe when working in the Integrator Mode.

To add a new name lookup rule, right click in the Rule Set node in the model explorer or in the background of the Rule Set detail and select Insert > Name Lookup Rules.

Select Source DB Type, Source Element Type and Target DB Type from the respective drop down lists. Target Type Element is optional.

Condition and Expression must be valid Programmable Macro Language (PML) Expressions that will be evaluated against instances of the source element type, for example: pipes, to generate values for instances of the target types, for example, pipelines.

Condition must return a Boolean, for example:

purpose of zone eq 'PIPE'

Expression must return text for the Name of the Target Element, for example:

function + '-' + substring(name of pspec,2,99) + :LineNumber + '-' + Duty

Rules will be applied if the Condition evaluates True and the Target Element Type matches (if specified). The keywords source and target which are used under Rule Groups (see below) are not available in Name Lookup Rules.

Note:
Name Lookup Rules have their source and target types reversed compared to Rules under Rule Groups. The Rules under Rule Groups, in particular those relating to NAME, must be consistent with the Name Lookup Rules. This means that, for example, the Name Lookup Rule will find the appropriate schematic pipeline for a selected pipe, and the Assign Rule will match the that pipe to the same pipeline

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