You are on page 1of 34

AVEVA P&ID Colouring Utility

User Guide
AVEVA Solutions Ltd

Disclaimer
1.1 AVEVA does not warrant that the use of the AVEVA software will be uninterrupted, error-free or free from
viruses.

1.2 AVEVA shall not be liable for: loss of profits; loss of business; depletion of goodwill and/or similar losses; loss of
anticipated savings; loss of goods; loss of contract; loss of use; loss or corruption of data or information; any
special, indirect, consequential or pure economic loss, costs, damages, charges or expenses which may be
suffered by the user, including any loss suffered by the user resulting from the inaccuracy or invalidity of any data
created by the AVEVA software, irrespective of whether such losses are suffered directly or indirectly, or arise in
contract, tort (including negligence) or otherwise.

1.3 AVEVA's total liability in contract, tort (including negligence), or otherwise, arising in connection with the
performance of the AVEVA software shall be limited to 100% of the licence fees paid in the year in which the user's
claim is brought.

1.4 Clauses 1.1 to 1.3 shall apply to the fullest extent permissible at law.

1.5 In the event of any conflict between the above clauses and the analogous clauses in the software licence under
which the AVEVA software was purchased, the clauses in the software licence shall take precedence.

Copyright
Copyright and all other intellectual property rights in this manual and the associated software, and every part of it
(including source code, object code, any data contained in it, the manual and any other documentation supplied
with it) belongs to, or is validly licensed by, AVEVA Solutions Limited or its subsidiaries.

All rights are reserved to AVEVA Solutions Limited and its subsidiaries. The information contained in this document
is commercially sensitive, and shall not be copied, reproduced, stored in a retrieval system, or transmitted without
the prior written permission of AVEVA Solutions Limited. Where such permission is granted, it expressly requires
that this copyright notice, and the above disclaimer, is prominently displayed at the beginning of every copy that is
made.

The manual and associated documentation may not be adapted, reproduced, or copied, in any material or
electronic form, without the prior written permission of AVEVA Solutions Limited. The user may not reverse
engineer, decompile, copy, or adapt the software. Neither the whole, nor part of the software described in this
publication may be incorporated into any third-party software, product, machine, or system without the prior written
permission of AVEVA Solutions Limited, save as permitted by law. Any such unauthorised action is strictly
prohibited, and may give rise to civil liabilities and criminal prosecution.

The AVEVA software described in this guide is to be installed and operated strictly in accordance with the terms
and conditions of the respective software licences, and in accordance with the relevant User Documentation.
Unauthorised or unlicensed use of the software is strictly prohibited.

February 2010 © AVEVA Solutions Ltd, and its subsidiaries 2010 AVEVA shall not be liable for any breach or
infringement of a third party's intellectual property rights where such breach results from a user's modification of the
AVEVA software or associated documentation.

AVEVA Solutions Limited, High Cross, Madingley Road, Cambridge, CB3 0HB, United Kingdom.

Trademark
AVEVA and Tribon are registered trademarks of AVEVA Solutions Limited or its subsidiaries. Unauthorised use of
the AVEVA or Tribon trademarks is strictly forbidden.

AVEVA product/software names are trademarks or registered trademarks of AVEVA Solutions Limited or its
subsidiaries, registered in the UK, Europe and other countries (worldwide).

The copyright, trademark rights, or other intellectual property rights in any other product or software, its name or
logo belongs to its respective owner.
AVEVA P&ID Colouring Utility User Guide

AVEVA P&ID Colouring Utility User Guide

Contents Page

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:1
Procedure Overview and Examples . . . . . . . . . . . . . . . . . . . . . . . . . 2:1
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2:1
Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2:1
Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2:1
Example 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2:2

Setup Required in AVEVA P&ID. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3:1


Opening the AVEVA P&ID Colouring Utility . . . . . . . . . . . . . . . . . . . 4:1
Creating and Opening Colouring Settings Projects . . . . . . . . . . . . 5:1
Creating a New Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5:1
Opening an Existing Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5:2

Specifying Colouring Project Data and Selecting Drawings. . . . . . 6:1


Specifying Colouring Criteria. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7:1
Specifying Multiple Colouring Criteria Rules . . . . . . . . . . . . . . . . . . 8:1
Performing the Colour Changing Operation. . . . . . . . . . . . . . . . . . . 9:1
Resetting and Saving Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10:1
Re-colouring Drawing Items Based on their Dataset Attributes - Full
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11:1

© Copyright 1994 to current year. i 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide

© Copyright 1994 to current year. ii 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Introduction

1 Introduction

The AVEVA P&ID Colouring Utility is used to change the colours of multiple items on
multiple drawings within a project, based on their AVEVA P&ID properties or based on the
VPE Workbench labels that the items are labelled with, and the association of VPE
Workbench values in tables of such values on the drawings. Such tables are generated
using Design Data Templates (DDT) and placed on the drawings in AVEVA P&ID.
The process creates copies of the selected drawings and applies the re-colouring procedure
to them. The original drawings are not changed.
The selection of drawings, the item selection criteria and the re-colouring process itself is
carried out using the AVEVA P&ID Colouring Utility application.
See 2: Procedure Overview and Examples for an overview of how the AVEVA P&ID
Colouring Utility works and examples of its usage.
For the setup procedures required in AVEVA P&ID, see 3: Setup Required in AVEVA P&ID.
For information on opening and using the AVEVA P&ID Colouring Utility, start at 4: Opening
the AVEVA P&ID Colouring Utility.
For details of AVEVA P&ID properties (including User-Defined Attributes), VPE Workbench
labels and Design Data Templates (DDT) tables, refer to the AVEVA P&ID User Guide.

© Copyright 1994 to current year. 1:1 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Introduction

© Copyright 1994 to current year. 1:2 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Procedure Overview and Examples

2 Procedure Overview and Examples

In the AVEVA P&ID Colouring Utility application, an AVEVA P&ID project is selected, from
which drawings to be subject to the procedure are then selected.
If colours are to be changed based on the AVEVA P&ID properties of item, the procedure is
relatively simple. The user may simply specify, for example, that all Instruments with a tag
prefix value of "ABC" will be changed to a selected colour.
If colours are to be changed using criteria based on VPE Workbench labels that items are
labelled with, the user may specify whether colouring changing rules are to be based on the
mappings of VPE Workbench values in tables (created from Design Data Templates) in the
individual drawings, or on those within a selected template drawing.
The user must then specify the criteria for changing the colours of items based on their VPE
Workbench labels and the mappings of the label values in the VPE Workbench value
table(s), plus the colour that items are to be changed to (see the examples below).
Multiple criteria for applying colour changes may be specified. For example, that all
Instruments with a tag prefix value of "ABC" and / or of a specified item type.
Multiple criteria must be specified when changing the colour of items based on UDA values
(including Dataset UDAs) or VPE Workbench designator values, because in addition to a
value needing to be specified, the name of a Dataset, UDA or designator must also be
specified.
Colouring Utility settings may be saved as a “project” for future use.

2.1 Examples

2.1.1 Example 1
It is required that all items labelled with a specific design area "A" are to be re-coloured. The
design area is in the VPE Workbench value table(s). It is therefore sufficient to specify in the
Colouring Utility project settings that all items labelled design "A" area are to be changed to
the specified colour, and to set up the column mapping as explained below.

2.1.2 Example 2
It is required that all items with a specific safety class are to be re-coloured. Items on the
drawings are not labelled with their safety class. However they are labelled, using a VPE
Workbench label, with their design area. Every design area and safety class is mapped on
the table(s) of VPE Workbench values. For example, safety class SC1 is mapped to design
area A1 (i.e. they are in the same row in the table).
Therefore, in order to change the colour of all the items with a specific safety class of SC1, it
is necessary to specify in the Colouring Utility project settings that items with a safety class

© Copyright 1994 to current year. 2:1 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Procedure Overview and Examples

of SC1 are to be subject to the procedure and to specify that the safety class column in the
VPE Workbench value table(s) is mapped to the design area column.
When the procedure is implemented, the utility will refer to the VPE Workbench value
table(s). It will find all entries in the safety class column with a value of SC1. It will then refer
to the design area column to find all the design areas that are mapped to that safety class,
i.e. in the same row in the table. It will then refer to the drawing to find all the items that are
labelled with those design areas, and change them to the specified colour.

2.1.3 Example 3
A project includes a Dataset called “PRESSURE”, which is assigned to pipes in the project,
i.e. all pipes may be assigned a pressure value as a property. It is required that all pipes with
a pressure value of 200 are changed to a specified colour.
Therefore, in the Colouring Utility project settings it must be specified that all items assigned
the PRESSURE dataset, and with a pressure value of 200, are changed to the specified
colour. This requires two colouring criteria rules to be specified (see 8: Specifying Multiple
Colouring Criteria Rules).
See also 11: Re-colouring Drawing Items Based on their Dataset Attributes - Full Example.

© Copyright 1994 to current year. 2:2 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Setup Required in AVEVA P&ID

3 Setup Required in AVEVA P&ID

If colours are to be changed using criteria based on VPE Workbench labels that items are
labelled with, all drawings that are to be subject to the procedure must:
• be synchronised and their output files available.
• include a table of VPE Workbench values generated using a Design Data Template
(DDT) which maps VPE Workbench values (as described in 2: Procedure Overview
and Examples).
Refer to the AVEVA P&ID User Guide for details of these procedures.

© Copyright 1994 to current year. 3:1 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Setup Required in AVEVA P&ID

© Copyright 1994 to current year. 3:2 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Opening the AVEVA P&ID Colouring Utility

4 Opening the AVEVA P&ID Colouring Utility

Select AVEVA > P&ID > AVEVA P&ID Colour Utility > AVEVA P&ID Colour Utility from the
Programs menu.
The Create or Open Setting Project dialog is then displayed (see 5: Creating and Opening
Colouring Settings Projects).

© Copyright 1994 to current year. 4:1 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Opening the AVEVA P&ID Colouring Utility

© Copyright 1994 to current year. 4:2 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Creating and Opening Colouring Settings Projects

5 Creating and Opening Colouring Settings


Projects

5.1 Creating a New Project


To create a new settings project:
1. In the Create or Open Setting Project dialog, select the Create a New Setting option.

2. Enter the name if the project in the Project Name field.

3. Enter the location of the project in the Setting File field, or press this button and
browse for the required file.
4. Select the Create Project button. The AVEVA Colouring Utility dialog is then
displayed (see 6: Specifying Colouring Project Data and Selecting Drawings).

© Copyright 1994 to current year. 5:1 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Creating and Opening Colouring Settings Projects

5.2 Opening an Existing Project


To open an existing settings project:
1. Select the Open an Existing Setting option.

2. Enter the location and file name of the settings project file in the Setting File field, or

press this button and browse for the file.


3. Settings project files are .XML files. Their file names will be the same as the project
names that were entered when they were created, as described above.
4. Select the Open Project button. The AVEVA Colouring Utility dialog is then displayed
(see 6: Specifying Colouring Project Data and Selecting Drawings).

© Copyright 1994 to current year. 5:2 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Specifying Colouring Project Data and Selecting Drawings

6 Specifying Colouring Project Data and


Selecting Drawings

1. In the Select Input Folder field, enter the folder in which the source drawings are
located, or press the Browse button and browse for the location. Alternatively leave as
the default location, which will be the project location folder selected in the Setting File
field (see 5: Creating and Opening Colouring Settings Projects), plus "\input".

The full location and file name of each AVEVA P&ID drawing in the selected input folder
is the listed in the dialog.
2. In the Select P&ID Project File field, enter the location and file name of the
configuration file (.PRJ) of the P&ID project associated with the source drawings, or
press the Browse button and browse for the file. Alternatively leave as the default
location and file name, which will be the default input folder location (see above), plus
"\PID.PRJ".

© Copyright 1994 to current year. 6:1 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Specifying Colouring Project Data and Selecting Drawings

3. In the Select Output Folder field, enter the folder in which the re-coloured drawings
are to be placed, or press the Browse button and browse for the location. Alternatively
leave as the default location, which will be the project location folder selected in the
Setting File field (see 5: Creating and Opening Colouring Settings Projects), plus
"\output".
4. If colours are to be changed using criteria based on VPE Workbench labels that items
are labelled with, in the Select Template Drawing field, enter the location and file
name of the drawing file (.DWG) which is to serve as the template file for the project.
The template file must contain a VPE Workbench value table of all the values that are
used when specifying which items are to be re-coloured.
It is from this drawing that the lists of property names and column names are derived
which are used when specifying colouring criteria (see 7: Specifying Colouring
Criteria).
5. If re-colouring rules are to be applied based on the relationships between VPE
Workbench values in the table on the template file, check the Change According to
Template checkbox. If they are to be applied based on the relationships found in each
drawing, uncheck this checkbox.
For instance, if in the template drawing Safety Area SC3 matching design area G, A
and B, but in your target drawing safety area SC3 matches only design area G, when
the checkbox is checked, all pipes, equipment, and off-line instruments with design
areas A ,B and G will be coloured. If it is unchecked, only those items with design area
G will be coloured.
6. If all the P&ID drawings found in the input folder are to be subject to the procedure,
select the Select All checkbox. If only certain drawings are to be re-coloured, check or
uncheck the Select File checkboxes for the individual drawings as required.
7. To specify which items on the drawings are to be re-coloured, select the Settings
button. The Colouring Criteria dialog is then displayed (see 7: Specifying Colouring
Criteria).

© Copyright 1994 to current year. 6:2 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Specifying Colouring Criteria

7 Specifying Colouring Criteria

The Colouring Criteria dialog is used to set up the criteria for re-colouring items. These
criteria consist of one or more rules.

© Copyright 1994 to current year. 7:1 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Specifying Colouring Criteria

To set up a simple rule to change the colour of items based on their AVEVA P&ID properties:
1. From the Item Type field, select either Equipment, Instrument or Pipe, depending on
the type of items to be re-coloured.
2. In the Matching Criteria window, select the AVEVA P&ID property of the items to be
re-coloured from the list in the Property Name field.

As well as basic item properties, the list also includes As well as basic item properties,
the list also includes Dataset, User-Defined Attribute (i.e. non-Dataset UDA) and VPE
Workbench name and value options. and VPE Workbench name and value options.
A user may therefore, for example, choose to re-colour items based on their
association with a specific dataset value, as described in Example 3 (2.1.3: Example
3). In this case however, multiple rules must be set up, as both the dataset name and a
value must be specified. See 8: Specifying Multiple Colouring Criteria Rules for details.
3. Select the “Equals” condition from the Condition field.
4. In the Value field, enter the value of the selected property that the selected condition is
to be applied to.

© Copyright 1994 to current year. 7:2 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Specifying Colouring Criteria

5. Select the Pick Colour button and from the dialog that is then displayed, choose the
colour that items will be re-coloured in.

6. Select the Add Rule button. The rule is then added to the rules in the Rule set window

If colours are to be changed using criteria based on VPE Workbench labels that items are
labelled with, to set up a rule like that in Example 1 (see 2.1.1: Example 1):
1. In the Matching Criteria window, select the VPE Workbench property of the items to
be re-coloured from the list in the Property Name field (see above).
2. Select the “Equals” condition from the Condition field.
3. In the Value field, enter the value of the selected property that the selected condition is
to be applied to.
4. Select the Pick Colour button and from the dialog that is then displayed, choose the
colour that items will be re-coloured in.
5. Select the Add Rule button. The rule is then added to the rules in the Rule set window.
6. Set up the mapping by selecting the Define Alias Field button. The Field Mapping
Settings dialog is then displayed.

© Copyright 1994 to current year. 7:3 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Specifying Colouring Criteria

Note: Lists of values for the fields in this dialog will be available if a template drawing has
been specified (see 6: Specifying Colouring Project Data and Selecting Drawings).
Otherwise fields must be completed by manual entry.

Note: It is always necessary to specify a mapped column and a mapped field name, even if
one column is not being mapped to another. In such a case, the same column and
field details must be specified in both sets of fields.

7. In the Primary Column Name field, select the identifier of the column on the template
drawing in which the selected property is located.
8. The adjacent Field Name field displays the alias of the selected column, i.e. the name
by which is known on the drawing.
9. In the Mapped Column Name field, enter the same identifier as entered on the
Primary Column Name field.
10. In the adjacent Mapped Field Name field enter same alias as entered in the Field
Name field.
11. Select the Save button to save the mapping and close the dialog.
Therefore in order to set up the criteria for applying the re-colouring of items with a specific
design area, as described in Example 1:
• Select "Design Area" from the list in the Property Name field.
• Select "Equals" in the Condition field.
• Select "A" in the Value field.
• In the Field Mapping Settings dialog, select the identifier of the design area column in
the Primary Column Name field.
• Enter "Design Area" in the Field Name field.
• Select the identifier of the design area column in the Mapped Column Name field.
• Enter "Design Area" in the Mapped Field Name field.
Note: The Item Name field is not currently used.

If colours are to be changed using criteria based on VPE Workbench labels that items are
labelled with, to set up a more complex rule like that in Example 2 (see 2.1.2: Example 2):
1. Proceed as above, but in the Property Name field, select the property on the VPE
Workbench values table that is to be mapped to the property labelling the items.

© Copyright 1994 to current year. 7:4 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Specifying Colouring Criteria

2. Set up the mapping by selecting the Define Alias Field button. The Field Mapping
Settings dialog is then displayed.

Note: The settings shown in the image above are the default settings for this dialog.

3. In the Primary Column Name field, select the identifier of the column on the template
drawing in which the selected property is located.
4. The adjacent Field Name field displays the alias of the selected column, i.e. the name
by which is known on the drawing.
5. In the Mapped Column Name field, select the column containing the properties that
are to be mapped to.
6. In the adjacent Mapped Field Name field enter the alias of this column.
7. Select the Save button to save the mapping and close the dialog.
Note: The identifier of a column can be found on the drawing by selecting the column in a
drawing and using the AVEVA P&ID List Item Details procedure (refer to the AVEVA
P&ID User Guide for details). The identifier will be listed in a line that will look
something like this:

*Code 1000, Designator: $Pid System.1.Text Field Value

...where "$Pid System.1.Text Field Value" is the identifier.


Therefore in order to set up the criteria for applying the re-colouring of items with a specific
safety class, as described in Example 2 (above):
• Select "Safety Class" from the list in the Property Name field.
• Select "Equals" in the Condition field.
• Select "SC1" in the Value field.
• In the Field Mapping Settings dialog, select the identifier of the safety class column.
• Enter "Safety Class" in the Field Name field
• Select the identifier of the design area column in the Mapped Column Name field.
• Enter "Design Area" in the Mapped Field Name field.

© Copyright 1994 to current year. 7:5 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Specifying Colouring Criteria

For information on how to set up multiple criteria for re-colouring, see 8: Specifying Multiple
Colouring Criteria Rules.
When all the required settings have been specified, the colouring procedure can be carried
out. See 9: Performing the Colour Changing Operation.

© Copyright 1994 to current year. 7:6 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Specifying Multiple Colouring Criteria Rules

8 Specifying Multiple Colouring Criteria Rules

The colouring criteria may consist of multiple rules. Once the basic details of the first rule
are completed by specifying a value in the Value field, another row of fields is then
displayed underneath the first in the Matching Criteria window, which can be used for
specifying another rule.
Set up this rule as described above. In addition, in the Join Criteria field, select “And” or
“Or”.
Add any additional rules using the same procedure.
When all the required settings have been specified, the colouring procedure can be carried
out. See 9: Performing the Colour Changing Operation.

© Copyright 1994 to current year. 8:1 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Specifying Multiple Colouring Criteria Rules

© Copyright 1994 to current year. 8:2 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Performing the Colour Changing Operation

9 Performing the Colour Changing Operation

On the Colouring Criteria dialog save the rule settings and close the dialog by selecting
the Save Settings button.
On the AVEVA Colouring Utility dialog, select the Process button. The colour changing
operation then takes place.
When a drawing has been processed successfully, a green tick is displayed in its Progress
field. A red cross is displayed if the drawing is processed with errors.

To stop the operation, select the Cancel button.


Once a drawing has been processed, details of errors and warnings can be viewed by
selecting its View Log File button.
For information on how to save project setting and to how to reset project settings, see 10:
Resetting and Saving Settings.

© Copyright 1994 to current year. 9:1 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Performing the Colour Changing Operation

© Copyright 1994 to current year. 9:2 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Resetting and Saving Settings

10 Resetting and Saving Settings

To reset the Colouring Utility project settings to those last saved, select the Reset button.
To save the settings, select the Save button.
Close the AVEVA P&ID Colouring Utility by selecting the Exit button.

© Copyright 1994 to current year. 10:1 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Resetting and Saving Settings

© Copyright 1994 to current year. 10:2 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Re-colouring Drawing Items Based on their Dataset Attributes -

11 Re-colouring Drawing Items Based on their


Dataset Attributes - Full Example

As described in 2.1.3: Example 3, it is required that all pipes with a pressure value of 200
are changed to a specified colour.
The project includes a Dataset called “PRESSURE”, which is assigned to pipes in the
project (Item Group = Pipes). Datasets are defined using the User Defined Attributes -
Dataset Sub-Category of the AVEVA P&ID Project Administration program:

© Copyright 1994 to current year. 11:1 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Re-colouring Drawing Items Based on their Dataset Attributes -

When pipes are labelled, they can be assigned a pressure value by entering it into their
Properties dialogs:

In the AVEVA Colouring Utility, access the Colouring Criteria dialog from the Settings
button, and set the criteria as follows:
• Select “Pipe” from the Item Name field.
• Select "dataset name" from the list in the Property Name field.
• Select "Equals" in the Condition field.
• Enter "PRESSURE" in the Value field.
• In the next row, select “And” from the Join Condition field.
• Select "dataset value" from the list in the Property Name field.
• Select "Equals" in the Condition field.
• Enter "200" in the Value field.
• Select the Pick Colour button and choose the colour that pipes are to be changed to.

© Copyright 1994 to current year. 11:2 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Re-colouring Drawing Items Based on their Dataset Attributes -

i.e.:

Select the Add Rule button. The rule is added to the Rule set window as follows:

Save the rule settings and close the dialog by selecting the Save Settings button.
On the AVEVA Colouring Utility dialog, select the Process button. All drawings selected on
the AVEVA Colouring Utility dialog are then copied to the specified output folder and re-
coloured.
For example (note the pipes in the darker blue colour):

© Copyright 1994 to current year. 11:3 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide
Re-colouring Drawing Items Based on their Dataset Attributes -

© Copyright 1994 to current year. 11:4 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide

Index

A L
Add Rule button . . . . . . . . . . . . . . . . . . . 7:3 Log File . . . . . . . . . . . . . . . . . . . . . . . . . 9:1
Alias . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7:5
AVEVA P&ID Setup Required . . . . . . . . . 3:1 M

C Mapped Column Name field . . . . . . . . . . 7:5


Mapped Field Name field . . . . . . . . . . . . 7:5
Change According to Template checkbox 6:2 Mapping . . . . . . . . . . . . . . . . . . . . . . . . . 7:5
Colouring Criteria . . . . . . . . . . . . . . . . . . 7:1 Multiple Colouring Criteria Rules . . . . . . 8:1
Condition field . . . . . . . . . . . . . . . . . . . . . 7:3
Creating a New Project . . . . . . . . . . . . . . 5:1 O
D Opening an Existing Project . . . . . . . . . . 5:2
Opening the AVEVA P&ID Colouring Utility 4:1
Define Alias Field button . . . . . . . . . . . . . 7:5 Output Folder . . . . . . . . . . . . . . . . . . . . . 6:2
Design Data Templates . . . . . . 1:1, 2:1, 3:1
P
E
P&ID Project File . . . . . . . . . . . . . . . . . . 6:1
Examples . . . . . . . . . . . . . . . . . . . . . . . . 2:1 Performing the Colour Changing Operation 9:1
Pick Colour button . . . . . . . . . . . . . . . . . 7:3
F Primary Column Name field . . . . . . . . . . 7:5
Procedure Overview . . . . . . . . . . . . . . . . 2:1
Field Name field . . . . . . . . . . . . . . . . . . . 7:5 Progress field . . . . . . . . . . . . . . . . . . . . . 9:1
Project Name field . . . . . . . . . . . . . . . . . 5:1
I Property Name field . . . . . . . . . . . . . 7:3, 7:4

Input Folder . . . . . . . . . . . . . . . . . . . . . . . 6:1


R
Item Name field . . . . . . . . . . . . . . . . . . . . 7:4
Reset button . . . . . . . . . . . . . . . . . . . . . 10:1
J Resetting Settings . . . . . . . . . . . . . . . . 10:1

Join Criteria field . . . . . . . . . . . . . . . . . . . 8:1

© Copyright 1994 to current year. Index page i 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA P&ID Colouring Utility User Guide

S
Saving Settings . . . . . . . . . . . . . . . . . . . 10:1
Select All checkbox . . . . . . . . . . . . . . . . . 6:2
Select File checkbox . . . . . . . . . . . . . . . . 6:2
Select Input Folder field . . . . . . . . . . . . . 6:1
Select Output Folder field . . . . . . . . . . . . 6:2
Select P&ID Project File field . . . . . . . . . 6:1
Select Template Drawing field . . . . . . . . 6:2
Selecting Drawings . . . . . . . . . . . . . . . . . 6:1
Setting File field . . . . . . . . . . . . . . . . . . . 5:1
Specifying Colouring Criteria . . . . . 7:1, 8:1
Specifying Colouring Project Data . . . . . 6:1
Specifying Multiple Colouring Criteria Rules 8:1
Synchronise . . . . . . . . . . . . . . . . . . . . . . 3:1

T
Template Drawing . . . . . . . . . . . . . . . . . . 6:2

V
Value field . . . . . . . . . . . . . . . . . . . . . . . . 7:3
View Log File button . . . . . . . . . . . . . . . . 9:1
VPE Workbench labels . . . . . . . . . . 1:1, 2:1

© Copyright 1994 to current year. Index page ii 12.1


AVEVA Solutions Limited and its subsidiaries.
All rights reserved.

You might also like