AVEVA Diagrams (14.1) Diagrams Administration
TM-3534
www.aveva.com
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva2
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Revision Log Date
Revision
Description of Revision
27/09/2013
1.0
Issued for Training 12.1.SP4.1
20/07/2015
2.0
Issued for Training 14.1.0
Author
Reviewed
Approved
SR
KA
GC
KI,HU
JB
GC
Updates All headings containing updated or new material will be highlighted.
Suggestion / Problems If you have a suggestion about this manual or the system to which it refers please report it to the AVEVA Training and Product Support at
[email protected]
This manual provides documentation relating to products to which you may not have access or which may not be licensed to you. For further information on which products are licensed to you please refer to your licence conditions.
http://www.aveva.com m Visit our website at http://www.aveva.co
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; information; any special, indirect, consequential consequential or pure economic loss, costs, damages, charges 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 suffered directly directly or indirectly, indirectly, or arise in contract, contract, tort (including (including negligence) or otherwise. 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. 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 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva3
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
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 supplied with it) belongs to, or is validly validly licensed by, AVEVA Solutions Limited or its subsidiaries 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 transmitted without the prior written permission of AVEVA Solutions Limited. Where such permission 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, engineer, decompile, copy, or adapt the software. Neither the whole, whole, nor part of the software described described in this publication publication may be incorporated into any third-party 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 action is strictly prohibited, prohibited, and may give rise to civil liabilities liabilities and criminal criminal prosecution. 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 Documentation.. Unauthorised Unauthorised or unlicensed unlicensed use of the software is strictly strictly prohibited. Copyright Copyright 1974 to current year. AVEVA Solutions Solutions Limited and its subsidiaries. subsidiaries. All rights reserved. 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 subsidiaries,, registered registered in the UK, Europe and other countries (worldwide). (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.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva4
Contents 1
Introduction.............................................................................................................................................. 9 1.1 Aim..................................................................................................................................................... 9 1.2 Objectives......................................................................................................................................... 9 1.3 Prerequisites .................................................................................................................................... 9 1.4 Course Structure.............................................................................................................................. 9 1.5 Using this guide ............................................................................................................................... 9 2 Introducing AVEVA Diagrams Administration.................................................................................... 11 2.1 AVEVA Diagrams Administration Overview................................................................................ 11 2.2 Creating a New Project – A Worked Example............................................................................. 11 2.3 Setting up Project Databases. ...................................................................................................... 14 2.3.1 Create Teams – A Worked Example........................................................................................ 14 2.3.2 Create Users – A Worked Example ......................................................................................... 15 2.3.3 Create Diagrams Databases- A Worked Example................................................................... 16 2.3.4 Multiple Database (MDB) Setup- A Worked Example ............................................................. 18 Exercise 2– Database Creation .................................................................................................................... 19 3 AVEVA Diagrams Project Data Configurations .................................................................................. 21 3.1 System Definitions......................................................................................................................... 21 3.2 Units Configuration........................................................................................................................ 24 3.3 Defining Naming Rules.................................................................................................................. 25 3.3.1 Inserting a Rule (A Worked Example)...................................................................................... 25 3.3.2 Modifying a Rule....................................................................................................................... 28 3.3.3 Removing a Rule...................................................................................................................... 29 Exercise 3– AVEVA Diagrams Project Data Configuration ....................................................................... 30 4 Project Drawing Configuration............................................................................................................. 31 4.1 Drawing Documents Configurations............................................................................................ 31 4.2 Diagram Templates........................................................................................................................ 31 4.2.1 Creating a New Template – A Worked Example ..................................................................... 32 4.2.2 Drawing Template Settings ...................................................................................................... 35 4.2.3 Background Template Setup.................................................................................................... 39 4.3 Drawing Stencil .............................................................................................................................. 40 4.3.1 Create a new Stencil – A Worked Example............................................................................. 40 4.4 Importing Stencils and Drawings................................................................................................. 42 Exercise 4– Project Drawing Configuration................................................................................................ 43 5 Creating Symbols .................................................................................................................................. 45 5.1 Creating Microsoft Visio Shapes - Overview .............................................................................. 45 5.1.1 Create a Branch Symbol - A Worked Example........................................................................ 46 5.2 Create a Flow Direction Symbol ................................................................................................... 50 5.2.1 Create a Flow Direction Symbol - A Worked Example ............................................................ 50 5.3 Create an Inline Fitting Symbol for Piping – A Worked Example ............................................. 54 5.4 Create an Inline Fitting Symbol for HVAC ................................................................................... 56 5.5 Create an Elconn Symbol for Cables – A Worked Example ...................................................... 57 5.6 Create Equipment Symbol ............................................................................................................ 59 5.7 Create a Nozzle Symbol ................................................................................................................ 61 5.7.1 Create a Nozzle Symbol - A Worked Example ........................................................................ 61 5.8 Creating Grouped Shapes............................................................................................................. 64 5.9 Instrument Relationship Shapes.................................................................................................. 65 5.9.1 Instrument Relationship Symbol - A Worked Example ............................................................ 65 5.10 Create an Area Shape.................................................................................................................... 68 5.10.1 Create an Area Shape - A Worked Example ........................................................................... 68 5.11 Create a Title Block Shape............................................................................................................ 72 5.11.1 Create a Title Block Shape - A Worked Example .................................................................... 72 5.12 Create a Revision Block Shape .................................................................................................... 75 5.12.1 Create a Revision Block Shape - A Worked Example ............................................................. 75 5.13 Create a Revision Mark Shape...................................................................................................... 78 5.13.1 Create a Revision Mark Shape - A Worked Example .............................................................. 78
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
5
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Exercise 5 – Defining Shapes Configuration .............................................................................................. 84 6 Create Shapes with Special Features in Microsoft Visio ® ................................................................. 85 6.1 Create Double Sided Connector Line - A Worked Example ...................................................... 86 6.2 Creating a Label with an Attachment Line – A Worked Example ............................................. 91 6.3 Creating a KKS Flag Annotation – A Worked Example.............................................................. 96 7 Diagrams Rules.................................................................................................................................... 101 7.1 Consistency Check Rules ........................................................................................................... 101 7.2 Auto Formatting Rules – A Worked Example ........................................................................... 105 8 Link Documents................................................................................................................................... 109 8.1 Configuring the Links Hierarchy – A Worked Example ........................................................... 110 8.2 Adding Document Links – A Worked Example......................................................................... 111 8.3 Assigning a Class – A Worked Example ................................................................................... 113 8.4 Displaying Links – A Worked Example...................................................................................... 113 Exercise 6 – Linked Document................................................................................................................... 114 9 Reporting Schematic Data .................................................................................................................. 115 9.1 Visio Report .................................................................................................................................. 115 9.1.1 How to Create Visio Report – A Worked Example................................................................. 115 9.2 Report Designer ........................................................................................................................... 118 9.2.1 How to Create Report Template via Report Designer – A Worked Example ........................ 118 Exercise 7 – Report ..................................................................................................................................... 128 10 Status Control Configuration.......................................................................................................... 129 10.1 Overview ....................................................................................................................................... 129 10.2 Creating a Status World - A Worked Example .......................................................................... 130 10.3 Creating a New Status Definition - A Worked Example ........................................................... 131 10.4 Creating a New Status Value ...................................................................................................... 132 10.5 Setting the Transitions - A Worked Example............................................................................ 133 Exercise 8 – Status Control Configurations ............................................................................................. 135 11 Revision Control Configuration ..................................................................................................... 137 11.1 Revision Number Definition – A Worked Example................................................................... 138 11.2 Revision Block Definition – A Worked Example....................................................................... 142 11.3 Revision Configuration Definition – A Worked Example......................................................... 144 Exercise 9 – Revision Configurations ....................................................................................................... 148 12 Project Explorer ............................................................................................................................... 151 12.1 Flexible Explorer node configuration structure........................................................................ 152 12.2 Configure Project Explorer ......................................................................................................... 153 12.2.1 Creating a PBS World (PBSWLD) – A Worked Example ...................................................... 153 12.2.2 Creating a PBS Template (PBSTPL) – A Worked Example .................................................. 153 12.2.3 Creating a PBS Object (PBSOBN) – A Worked Example ..................................................... 155 12.2.4 Creating a PBS Object (PBSOBN) – A Worked Example ..................................................... 157 12.2.5 Configure nodes for Element Members – A Worked Example .............................................. 161 12.2.6 Configure nodes for Secondary Classes – A Worked Example ............................................ 163 12.2.7 Creating a PBS Criteria Node (PBSCRT) – A Worked Example ........................................... 166 12.3 Configure Project Explorer (Unassigned items)....................................................................... 167 12.3.1 Creating an Unassigned node – A Worked Example............................................................. 167 13 Appendix A - Optimising Project Performance and Storage Space ........................................... 173 13.1 Recommendations to Improve Performance of Save Work .................................................... 173 13.2 Refresh Performance................................................................................................................... 173 13.3 Project Storage with Respect to Visio and SVG Files.............................................................. 174 14 Appendix B - Annotation and PML1 Expressions ........................................................................ 175 14.1 Attribute Presentation Notation.................................................................................................. 175 14.2 PML1 Expressions ....................................................................................................................... 175 15 Appendix C – Diagrams Customisation ........................................................................................ 177 15.1 Shape Context Menu (Shape Sheet Action Section)................................................................ 177 15.1.1 PML Function ......................................................................................................................... 178 15.1.2 Command Execute................................................................................................................. 178 16 Appendix D – Schematic Model Viewer Icon Configuration........................................................ 181 16.1 Icons.............................................................................................................................................. 181 17 Appendix E – Project Upgrade ....................................................................................................... 185 17.1 Upgrade Drawing ......................................................................................................................... 185 17.2 Upgrade Database........................................................................................................................ 185 © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva6
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
17.3 Upgrade Diagrams Options ........................................................................................................ 185 18 Appendix F – Batch Update ............................................................................................................ 187 19 Appendix G – Copy Data Between Database................................................................................ 193 19.1 Include or Copy Foreign Database............................................................................................. 194 19.2 Document Files and Sessions.................................................................................................... 195 19.3 Cleaning Old Session Files......................................................................................................... 195 20 Appendix H - Diagrams Options..................................................................................................... 197
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva7
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva8
CHAPTER 1
1
Introduction
The AVEVA Diagrams application supports the creation of Piping, HVAC and Cabling Diagrams. The application is based on the AVEVA Design Platform GUI and diagram layouts are created using an embedded Microsoft Office Visio drawing control. All relevant data entered through the application is stored into the Schematic Database. The training course will be taken by schematic administrator, and will provide the necessary skill to create and maintain AVEVA projects that include schematic information and design.
1.1
Aim
Over the duration of this training the participants will learn to administer the AVEVA Diagrams application, be familiar with the creation and maintenance processes.
1.2
Objectives
1.3
To be able to prepare and maintain the settings related to AVEVA Diagrams in Admin module, To be able to create symbols and stencils, To be able to create systems, To be able to understand and maintain autonaming, To be able to understand and maintain reports and report templates.
Prerequisites
It is necessary to have a good understanding of the AVEVA Plant Design or AVEVA Marine Outfitting systems and it would be beneficial to complete one of the AVEVA Plant or AVEVA Marine Diagrams courses (P&ID, Cable or HVAC) and have some experience on W indows file system handling beforehand.
1.4
Course Structure
Training will consist of oral and visual presentations, demonstrations and set exercises. Each workstation will have a training project, populated with model objects. This will be used by the trainees to practice their methods, and complete the set exercises.
1.5
Using this guide
Certain text styles are used to indicate special situations throughout this document, here is a summary; Menu pull downs and button click actions are indicated by bold turquoise text. Information the user has to key-in red bold and italic text. Annotation for trainees benefit:
Additional information Refer to other documentation System prompts should be bold and italic in inverted commas i.e. 'Choose function' Example files or inputs will be in the courier new font, colours and styles used as before.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
9
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
This page is intentionally left blank.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva10
CHAPTER 2
2
Introducing AVEVA Diagrams Administration
2.1
AVEVA Diagrams Administration Overview
On a large design project the System Administrator plays an important role by managing the privileges of the general users and the Data Access Controls (DAC) rights as well as the breakdown of the project into sections which are relevant to the needs of project reporting and control such as:
Access Control (Teams and Users) Databases (DB’s) Multiple Databases (MDBs) Database management functionality
The Administration of project data setups are done in three modules, these are:
2.2
AVEVA Administration - For Project and User administration AVEVA Catalogue – For Catalogue and Specification. AVEVA Diagrams – For project configuration to suit project requirements (e.g. drawing dimensions and layout, label types, manage symbols etc.)
Creating a New Project – A Worked Example
Depending on the design requirements, it may be necessary to create a new project. This could be done via: All Programs > AVEVA > Manage > Project Creation Wizard 1.3.0 or All Programs > AVEVA Marine > Engineer > Diagrams > Project Creation Wizard command from the Start menu.
For use with AVEVA Diagrams 14.1.0
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
For use with AVEVA Marine Suit 12.1.SP4
11
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Click the ‘ Project Creation Wizard’ option, the ‘AVEVA Administration Project Creation Wizard’ form is then displayed.
Before a new project is created, the project should be named and the project variables should be checked as described below: %
DIA% %STE% %TPL% Three project variables are needed in AVEVA Plant and AVEVA Marine to support the AVEVA Diagrams application.
Clicking on the ‘ Create’ button in the ‘AVEVA Administration Project Creation Wizard’ form will create a new project and the required project variable folders in preferred location as shown:
The three folders (DIA, STE and TPL) are necessary within the xxx project to store the Diagrams, Stencils, and Templates files.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva12
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Login to the Admin module ( AVEVA Administration) using the details provided by the trainer to view the newly created project. Project – ADMIN Username – SYSTEM Password – XXXXXX Click the Admin tile
It is not necessary to specify an MDB to enter Admin. Free Users, like SYSTEM , are not displayed on the Username pull down.
The Admin default screen layout will be displayed.
Exit the AVEVA Administration to close the application as shown.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva13
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
2.3
Setting up Project Databases.
Setting up project databases for AVEVA Diagrams application involves series of steps such as; creation of Teams, Users, Diagrams Databases (schematic (SCHE), project MDB (Multiple Database) etc. This is explained in subsequent sections using existing ‘ Training’ project.
Detail of the ‘ Training’ project will be provided by the trainer.
2.3.1
Create Teams – A Worked Example
Using team access control, each discipline will have full control of their own data whilst working with data issued from all the other team /disciplines. Enter AVEVA Administration by selecting:
Start > All Programs > AVEVA >Manage > AVEVA Administration 1.3.0
Project – Training Username – SYSTEM Password – XXXXXX Click the Admin tile.
Create a ‘Team ’ as shown:
Teams -
SCHEMATIC TEAM
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva14
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
2.3.2
Create Users – A Worked Example
To control who can create or update diagram data, users are created and assigned to respectively teams.
Create a ‘User ’ as shown:
USER SCHEMATIC
PASSWORD SCH
Make the user member of the preferred team in the case ‘ SCHEMATIC’.
For further details, on creation of Teams and Users, please refer to AVEVA Plant System Administration User Guide (TM1300)
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva15
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
2.3.3
Create Diagrams Databases- A Worked Example
A schematic (SCHE) database (writable SCHE DB), Dictionary database ( DICT) and a Reference Only DESI DB must exist within the project MDB (Multiple Database) to store the diagrams data. The following examples shows how these databases are created.
Create Schematic Database – To store diagrams data. Create Schematic database, by selecting Databases & Extracts from the Elements options list. Click the Create button to display the Databases & Extracts form. Click the Master DB radio button and the OK button to display the Create Database form.
Select SCHEMATIC from the Owning Team grid Name column.
Enter or select the following data:
Name
DIAGRAMS .
Description Database Type
Schematic Arrangements- Pipes, HVAC, Cables
Schematic
Click the Apply button to create the database.
When a SCHE database has been created, this will automatically create the Schematic world element, (Schematic WORL*). From the Schematic world the user can add any number of Schematic Group elements, (SCGROU), to hold their schematic elements, such as Diagrams, Stencils, Templates, Equipment, Pipelines, Cables and HVAC lines.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva16
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Create Dictionary Database – To store User Defined Attributes (UDAs), User Defined Element Types (UDETs), Status Definitions, Revision Definition, Flexible Explorer Definition etc.
Select SCHEMATIC from the Owning Team grid Name column.
Enter or select the following data:
Name: DIAGRAMS-DICTIONARY . Description: Schematic Diagrams Dictionary Database Type: Dictionary
Click the Apply button to create the database.
Create Reference Only DESI DB: To Store the elements that represent information that can be updated from both 2D and 3D applications, for example piping or cabling systems.
By selecting the Reference Only checkbox the created database is limited to only contain elements that represent information that can be updated from both 2D and 3D applications. Once a Reference Only DESI DB is created as shown above, it will not be possible to switch it to an ordinary DESI DB or create certain top-level element types.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva17
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Similarly it is not possible to alter a DESI DB to be a Reference Only DESI DB once it is created as an ordinary DESI DB. The only top-level types that will be available are listed below.
Element type SYGPWL CYMWL AREAWL STLNKW GPWL LINKWL RLWL DOWL GRIDWL
2.3.4
Description System Group world AVEVA Schematic 3D Integrator world Area world Status link world Group world Linked Documents world Rule world Document world Grids world
Multiple Database (MDB) Setup- A Worked Example
In controlling what data a user can see, databases are grouped into Multiple Databases (MDBs). A project will contain at least one MDB. A database may be a member of any number of MDBs.
An MDB must contain all the data that the user needs to access. For example, for a DIAGRAM user, the MDB must contain a Schematic, Dictionary and Catalogue database on which the user is going to work. On the Admin elements form select MDB from the Elements option list and click the Create….. button to display the Create Multiple Database form.
For more information on MDB creation please see the TM-1300 AVEVA Plant (12.1) System Administration ( Basic) or TM-2120 AVEVA Marine (12.1) System Administration ( Basic) Training Guides
Select the relevant databases e.g. (SCHE & DICT DBs) in the top pane Project Databases then click the down arrow icon above the Current Databases list. This will add the database to the list of Current Databases then click Apply button and then Cancel button to exit the form.
The user will need at least one SCHE DB to work on, one CATA DB to be able to use specifications and one DICT DB if UDA:s and UDET: s are desired to be used. These could be copied from existing projects. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva18
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Exercise 2– Database Creation 1. 2. 3.
Create a new project. Create a team, a user and an MDB for each discipline. Make sure relevant teams can write only to their databases but they should be able to read from the other databases as well. Prepare CATA, DICT and any other required data with the help of foreign projects in your system.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva19
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
This page is intentionally left blank.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva20
CHAPTER 3
3
AVEVA Diagrams Project Data Configurations
Basic project data settings and defaults configurations to suit project requirements listed below are done in AVEVA Diagrams module via the Admin Tab and AVEVA Administration (Lexicon) module.
System & Rule Definitions Units, Naming, List Configurations Drawing & Database Upgrades Project Explorer Configurations
The Admin tab is only displayed if the user is a member of the ADMIN team and FREE USER (e.g. SYSTEM).
3.1
System Definitions
A system is basically used to define the Pipe Spec, Insulation Spec, Tracing Spec, Paint and Fluid of a pipe. User can choose to omit or set a default system. A system can be used with or without any default values included, in this case the item belonging to this system will only have a system reference stored in scsysf attribute.
To create a new system for AVEVA Diagrams application the user must have the appropriate login, i.e. must be a user with the right privileges
The administrator should ensure there is at least one (which could be a Reference Only) DESI DB in the MDB with read/write access to be able to create new systems using the AVEVA Diagrams application.
In this section, enter AVEVA Diagrams using the following details: Project – ‘Training’ , Username – ‘ SYSTEM ’ Password – XXXXXX , MDB- A-PIPING
Select Systems from the Admin tab.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
21
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
The System Hierarchy form is then displayed.
The new SYGPWL (System Group World) is shown for SYSTEMS by default if a Reference Only DB is used and this System Group World is indicated to be created previously. Now navigate to the SYGPWL SYSTEMS, right click and from select Create System Group Area from right click context menu.
The Create System Group Area form appears, key in the Name /SYSTEMS_GR_AR , the Function Systems, Description All System Group Area and Purpose ALL and then click the OK button.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva22
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
The Purpose of the group area needs to be set to PIPE , ELEC , or HVAC to allow the modelling application’s related form(s) to filter the systems, i.e. Create Cable, Create HVAC and Create Pipe forms in AVEVA Plant Design or Marine Outfitting modules Now select the SYGPAR SYSTEMS_GR_AR, right click and select Create System from right click context menu. The Create System form appears, key in the Name TRA, the Function Training , and the Description System for Training , and then click the OK button.
For each system, there is also a subordinate SYSCDA (System Schematic Data) element which contains default values per system for the AVEVA Diagrams application and SYSMDA (System Model Data) element which contains default values per system for the Outfitting application. Navigate to the SYSGRP TRA and right click, select Create System Schematic Data . Enter name TRA_Default , Description Training , and Pipe Spec SP/DR07C and click OK button.
Once the training system and defaults have been created, create systems and their schematic data respectively for HVAC and Electrical elements. The user can then set these systems as default or in particular against design elements without needing an administrative login.
The Track New Elements checkbox can be used to automatically navigate to the newly created items
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva23
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
3.2
Units Configuration
When the user enters dimensional data in any window in AVEVA Diagrams, the units applied will be taken from the default settings. The default units are specified independently for each unit type. To change the default units, the user will have to select Units from the Admin tab to display the Current Session Units form.
A system default file is supplied for both metric and imperial units as %pdmsdflts%/system-current-unitsMet.pmldat and %pdmsdflts%/system-current-units-Imp.pmldat. To set the default units for a specific project the administrator must select the required units using the Current Session Units window and click the Save button. A file, %pdmsuser%/xxx-save- current-unitsMet.pmldat or %pdmsuser%/xxx-save-current-units- Imp.pmldat will then be created. The created file must be copied to the project defaults folder and renamed to %xxxdflts%/project-current-units-Met.pmldat or %xxxdflts%/project-current-units-Imp.pmldat to be able to permit the use the Project Defaults or use a saved file created by them. On Global projects, it is necessary to propagate the units settings file to all project satellites. If the Other Data Transfer mechanism has been implemented, then the project units settings files could be propagated in this way. Otherwise, the most practical method of propagating a project units file is simply to distribute the file to all satellites and have the file copied to the appropriate project folder. In practice, project units files will be configured at the beginning of a project, and are unlikely to be changed frequently during the life of a project. The Save and Restore buttons can be disabled by the administrator which forces the user to use the project default settings. To disable the buttons, the administrator must open the file saved in the project defaults folder and change the !!comFormats.allowUserSaveFile = true to !!comFormats.allowUserSaveFile = false
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva24
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
3.3
Defining Naming Rules
AVEVA Plant and AVEVA Marine Auto naming allows the AVEVA Plant or AVEVA Marine administrator to define rules to be used when creating elements, i.e. pipes and valves. Rules are created based on element types and attributes. Select Naming from the Admin tab, the Naming Settings form appears. Make sure that Auto Naming On/Off checkbox is checked to be able to see the rules working.
Infill Append
Allows user to use any available index number for elements. Allows user to name elements with increasing index numbers only.
Save Load
Allows user to save the naming rules to the rules file. Allows user to load the naming rules from the rules file.
3.3.1
Inserting a Rule (A Worked Example)
On the Naming Settings form, click the Define Naming Rules button. The user has two options to create a rule. The user can type all data required in Data Input section or copy a rule then insert it as a new rule with the modifications.
Replace button can be used if any rule is required to be modified, as well as Remove button to delete the rules from the list
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva25
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The user firstly must indicate the type of element which is going to be named with a rule. To define an element rule click the Element Rules button on Naming Rules form.
In Define Rules form in Definition section key in the Name field All Diagrams and Types SCDIAG . Then click Include button. The Defined list of rules will be populated with the new rule in User Defined Rules group.
Select File > Save to save the changes. Then click OK button to turn back to Naming Rules form.
This file is stored with a name diagramselement-rules.pmldat in %PDMSUI%\dflts
Location: Determines where the Element Rules is stored. If User is selected the file is stored in the%pdmsuser% folder. If Project is selected the file is stored in the%project%\\df lts folder. If the PDMS is selected the file is stored in %PDMSUI%\dflts folder.
On the Naming Rules form key in DIAGRAM and click the selection icon next to Rule Name field and select previously created All Diagrams. Data input section will be updated automatically. Complete the Data Input section as shown and click Insert button.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva26
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
The user can select Before or After to insert a rule into the list of rules
The newly created naming rule is added to list of rules. Navigate to an appropriate element in Design Explorer and having checked the Use Rule checkbox click Test button to see the result of autonaming.
The Scan Level is used to scan the available index number with respect to given element. i.e., WORL, OWNER, SCPLIN etc.
Click OK button and on Naming Rules form and select Save button to save the naming rules on the Naming Settings form.
This file is stored with a name diagrams-nam.pmldat. The default folder is %PDMSUI%\dflts, if the user selects File > Save then the file will be stored in %pdmsuser% folder
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva27
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
3.3.2
Modifying a Rule
Display the Naming Rules form as described previously, then select a rule. The user then can click Copy button to copy the Data contents seen on the form to Data Input section and modify as shown:
Format : !!ce.owner.namn & 'SCDIAG-' & !INDEX
Click Replace button after the alteration.
The Test button can be used to show the naming result so long as the relevant element is CE.
It is recommended that the user should test any alteration on these rules as this may cause unexpected actions on element creation.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva28
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Then select Save button on Naming Settings form.
3.3.3
Removing a Rule
To remove a rule, select the rule desired to be removed in the rule list on Naming Rules form and then click Cut button. This will move the Data shown on the form to the Data Input area and remove the rule from the Key scrollable rule list.
Then select Save button on Naming Settings form Click OK button. Remember to select Save on Naming Settings menu.
For more detailed information on naming please see the TM-1300 AVEVA Plant (12.1) System Administration (Basic) or TM-2120 AVEVA Marine (12.1) System Administration (Basic) Training Guides
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva29
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Exercise 3– AVEVA Diagrams Project Data Configuration
1.
Create a system for HVAC using the system code HVA, set up the SYSCDA element as shown.
2.
Log in to the AVEVA Diagrams application as SCHEM user with password SCHEM and test if the newly created system is working.
3.
Create a naming rule to get a result as -- for a pipeline element, i.e., 100-2-SP/DR07C.
4.
Use your company standards to create a naming rule for Multi Cable, Cable and Core elements.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva30
CHAPTER 4
4
Project Drawing Configuration
4.1
Drawing Documents Configurations
The diagram documents such as diagram, stencil and template created through the AVEVA Diagrams application are stored in a file system or an external document management system as shown:
All diagrams, stencils and templates are handled through proxy (index) elements in the database, even if the actual files are stored in the file system.
No SVG format files are created when templates and stencils are saved by the application. 4.2
Diagram Templates
Diagram templates are used as guides for drawing symbols on drawings. Each diagrams element are created from templates. Templates are usually used when creating multiple diagrams files that need a consistent appearance. AVEVA Diagrams provides the capability to create a template from a drawing file, or import existing Visio drawings which are not created through the Diagrams application and are therefore not represented by index elements in the database. Likewise, to export an existing drawing or to save a newly created Visio drawing to a file without creating an index element in the database, the export function can be used. Creating a diagram template enables user(s) to customized drawing settings such as: Print Setup Page size Drawing Scale Page Properties Layout and Routing Shadows Window size or position Shape or text styles © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
31
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Colour palette Snap and glue
If the drawings often use a standard background or set of layers, such as company logo, the diagram template is created with the background or layers.
4.2.1
Creating a New Template – A Worked Example
This worked example illustrates how to create a new template from a drawing file in AVEVA Diagrams application. Select New > New Diagram from the Project tab.
Select preferred Schematic group for templates e.g. ‘SCGROU Project_Templates’ In the Template name text field enter desired name e.g. ‘ Training Template’
A predefined template for a new diagram can be chosen from the database if required.
Click the No template button.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva32
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
The ‘Save Diagram As’ form is then displayed. Select desired SCGROU ( SCGROU Project_ Templates) where the new template is to be saved, then key the name TRA_A2_Template and select from the Save as type pull down Template (SCTEMP) then click the Save button.
The newly created ‘ TRA_A2_Template’ is created and saved in the specified location.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva33
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
If the drawings require a standard background or set of layers, such as company logo, the diagram template is created with the background or layers as shown:
Right click on the Page-1 tab and select Insert option to add new page
The Page Setup form is then displayed. Select the Background radio button and click the OK button to insert the Background page.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva34
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
4.2.2
Drawing Template Settings
If required, drawing templates can be customized by the Administrator to meet project specific needs such as:
Print Setup Page size Drawing Scale Page Properties
This worked example illustrates how to customize the above drawing settings.
4.2.2.1 Drawing Template Settings - A Worked Example a) Print Setup The Print Setup option allows Administrator / user to set the Printer Paper Size, Print Zoom and Print Gridlines to meet project specific needs.
Right click on the preferred template Page-1 tab. Select Page Setup option to display the Page Setup form
The Page Setup form is then displayed
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva35
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
In the example, set the Printer paper to Letter: 8.5 in x 11 in . The remaining fields should remain as default.
b) Page size Setup The Page size option allows user to set a Pre-defined page size, Custom page size and Page orientation if required.
In this example, Select the Pre-defined size radio button and set the page size to Metric (ISO) A2; 420 mm x 594 mm.
The Custom size field will automatically set size to 594 mm x 420 mm.
Page orientation , select Landscape radio button.
c) Drawing Scale The Drawing Scale option allows user to set a Pre-defined Drawing scale, Custom Drawing scale and Page size if required.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva36
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
In this example,
Select the Custom size radio button and set the page size (in measurement units) to 594 mm x 420 mm , if the field is unset.
d) Page Properties The Page Properties option allows user to set the page properties if required.
If the drawings needs to use a standard background or set of layers, such as company logo. From the Background field, select the appropriate background page from available pull-down list in this case ‘Background -1 ’.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva37
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Click on the OK button to save the settings and close the Page Setup form.
Repeat the same procedure to setup the Background page as shown.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva38
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
4.2.3
Background Template Setup
The drawing template background allows the user to add project specific details to the drawing template such as standard company logo, Drawing grids/ borders/frame etc.
4.2.3.1 Background Template Setup - A Worked Example This worked example illustrates how to add company logo, Drawing grids / borders to drawing template background.
Select the Background-1 tab at the base of the sheet to display the Background page
Use the Line tool from the main AVEVA Diagrams toolbar, add the preferred drawing borders to the drawing template background
Add the company logo and the desired texts using the Text tool from the main toolbar.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva39
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
The grid reference numbers/letters can be add to the drawing template background if required. 4.3
Drawing Stencil
Stencil hold shapes that are regularly used. Newly created stencil must be saved to the database before shapes can be added.
4.3.1
Create a new Stencil – A Worked Example
To create a new stencil select New > New Stencil from the Project tab, the new stencil is then displayed.
From the Project tab on the main pull down menu select Save Stencil As.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva40
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Browse in the tree to where the new stencil is to be saved, keyinn the name TRA_Stencil and then click the Save button.
Information form is then displayed. Click the Yes button.
The newly created stencil ‘TRA _Stencil ’ is created and saved in the specified location.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva41
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
4.4
Importing Stencils and Drawings
Stencils, templates and diagrams that do not have any SCDIAG, SCSTEN or SCTEMP elements in the database, can be imported by using the Import command in the Project tab.
Diagrams and templates can be imported using the Import > Drawing option Stencils can be import using the File > Import > Stencil option
It is also possible to export these items to be used in another project in a similar way using the Export command in the same tab. After import, database items can be saved using the Save Diagram As and Save Stencil As commands via the Save As group in Project tab which will create the index elements in the database and save the files in the location pointed to by the %DIA%, %STE% and %TPL% variables.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva42
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Exercise 4– Project Drawing Configuration
1.
Create a new template and background page.
2.
Customized the template and background page options listed below to meet project specific needs
Print Setup Page size Drawing Scale Page Properties
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva43
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
This page is intentionally left blank.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva44
CHAPTER 5
5
Crea Cr eatin ting g Sy Symb mbol ols s
A major part of the AVEVA Diagrams functionality is based on a set of specialised AVEVA Diagrams shapes. Many of these shapes contain information about what kind of database element the shape should be related to, while others do not have any database equivalent at all such as annotation labels etc. This mechanism mechanism enables the application application to automatically automatically create related database elements, as well as provide automatic annotation and general intelligence. Shapes that should be recognized by AVEVA Diagrams and handled by the application logic must be created created through the Import Shape accessible through the Admin tab. These include shapes corresponding corresponding to DB elements, elements, (for instance instance branches, valves, instruments and fittings), off-page connector shapes and label shapes presenting attribute information. The shapes processed by the Import Shape Wizard will be stored in a user-selected stencil and will contain data specific to the AVEVA Diagrams application. Other Visio shapes that have not been processed through the Import Shape Wizard can still be used for annotation etc. on drawings, but these will not be handled 'intelligently' by the application. AVEVA Diagrams shapes can also contain default attribute values, which can enable users to create specialised specialised shapes and will reduce the amount of information information that is necessary necessary to enter when diagrams are created.
5.1
Creating Crea ting Micro Microsoft soft Visi Visio o Shape Shapes s - Over Overview view
Before shapes can be imported to a stencil using the Import Shape Wizard, they will have to be created using Microsoft Visio tools. It is highly recommended that the user creating the shapes has a good knowledge of Microsoft Visio and is familiar with how Visio shapes works before proceeding to create AVEVA Diagrams shapes. When drawing the shape, it is recommended to use the same grid setting that will be applied when the shape will be used in the drawing, thereby avoiding alignment and snapping problems. To minimize the risk of mistakes when different zoom settings are used, the grid can be set to Fixed. A suitable grid size is suggested to be 1mm. To set the Ruler and Grid select Ruler and Grid from the View tab.
To set the Ruler and Grid select Ruler and Grid from the View tab.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
45
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
5.1.1
Create Crea te a Bran Branch ch Symbol Symbol - A Worke Worked d Example Example
From the Standard toolbar select the Connector Tool ; draw the shape of the line to become the branch symbol.
Once the line is drawn, select the line and the vertexes are automatically highlighted. Right click on the line to display the context menu. Select Line option form the Format submenu.
The Line option can also be accessed via the Shape Tools context sensitive tab.
The Line form is the displayed. This will allow the user to change the representation of the line i.e. Pattern, Weight, etc. In this example modify the following field:
Weight : enter 0.24 0.24 pt.using Custom Line Weight form. End: select 13 from the available pulldown list.
When finished click the Apply button follow by the OK button to close the form.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva46
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Select the newly drawn shape to be imported and click on the Import Shape option from the Admin tab to display the Import Shape Wizard window. The four steps Import Shape Wizard allows the user to set up the key information information for the imported imported shapes.
starting the Import Shape Wizard, one or more shapes must have been selected on the current Prior to starting drawing. In case more than one shape has been selected, they will all receive a common type, common presentation settings etc.
Step 1: Selecting Type and Assigning a Name
First select select the appropriate appropriate category category that corresponds corresponds to the previously previously drawn shape e.g. Pipeline elements> Branch in the explorer pane to the left
Then select the type type in this Branch in the right hand pane
Last enter the the name for the the shape. shape. In this case Branch
Keep Custom Menu Actions is available for each shape. If checked the cells in Actions The checkbox Keep
section of the shape sheet will be preserved. For piping and HVAC branches, a Denote to dropdown box will appear. This can be used to select the tube/duct type that a branch should be denoted to when dropped on to the drawing.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva47
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Click the Next button to continue to the next step.
Step 2: Selecting the Stencil In this step, select the stencil to which the shape should be added. The Import Shape Wizard step 2 of 4: Destination Stencil will display the currently open stencils, so the stencil must have been opened before starting the Import Shape Wizard.
Select the destination destination stencil and click Next button to continue.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva48
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Step 3: Annotation Style Settings In this step the default annotation can be set up. The default annotation is represented by the shape text as well as a number of default labels that can be automatically placed on the drawing when the shape is dropped.
The number of default annotations varies depending on the type of item and can be controlled by changing the settings under General Options > Annotation Settings in Diagrams Options.
Click the Next button to continue to the next step.
Step 4: Attribute Presentation In this step the attribute presentation can be set up. If the Use default attribute presentation settings checkbox is checked, all presentation settings will be taken from the default that has been set up using the Attribute Presentation tab of the Diagrams Options dialogue.
In this step also possible to set up a default value (the Value column) for each attribute. This can still be provided even if the presentation settings are taken from the default.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva49
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
When the attribute presentation settings are completed click Finish, the shape will be added to the selected stencil. The user will also be prompted to Save Work or not.
The reason for the prompt of Save Work is that if the application subsequently closed without any Save Work command being issued, the imported shapes will be lost. So if the user clicks No , then they will have to remember to perform a SaveWork at a later time.
This procedure for creating a branch is the same for Pipe, HVAC and Cable Lines 5.2
Create a Flow Direction Symbol
The Flow Direction symbol can be used for a graphical indication of the flow of a branch on a drawing. When dropped on top of a tube or duct shape, the flow direction symbol automatically aligns with the current flow and it reacts on the connectors’ moving or re-sizing. It is also automatically adjusted on the reversing of the flow direction.
5.2.1
Create a Flow Direction Symbol - A Worked Example
A flow direction symbol can be created using Import Shape Wizard and then dropped from the stencil as any other shape. First draw the desired shape, using the available standard Drawing tool in AVEVA Diagrams from the Home tab. Alternatively user can also draw desired shapes using Microsoft Visio tools and then copy the shape back to AVEVA Diagrams.
The triangle shape below was drawn using available standard Drawing tool in AVEVA Diagrams.
To achieve proper behaviour it is important that before the symbol is imported via the Import Shape Wizard and its orientation corresponds with default flow direction going horizontally form left to right.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva50
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The Flow Direction Symbol also requires a single outward connection point which will be used to attach to the connector. Connection points can be added to shapes by using the Connection Point Tool icon available on the dropdown in the Standard toolbar. To add connection points, select the shape to make it active and then select the Connection Point Tool from the Standard toolbar. Holding down the Ctrl key on the keyboard click with the cursor where the connections are to be placed.
The direction of the connection points can be changed by right clicking on a connection point and selecting Inward, Outward or Inward & Outward
In this example change the connection points to Outward connection point as shown above.
These directions are NOT related to flow directions of the component. This only relates to Visio’s mechanisms for connecting shapes to each other. Connection points for 2D shapes (such as equipment, valves, fittings etc.) should normally be Inward. Outward connection points are only required if the user intends the shape to be directly connected to other 2D shapes. The normal approach is to always use Inward when shapes are created. The connection can then be changed to Outward if required after the shape has been added to the diagram Select the newly drawn shape to be imported and click on the Import Shape option from the Admin tab to display the Import Shape Wizard window.
Step 1: Selecting Type and Assigning a Name
Select the appropriate category that corresponds to the previously drawn shape e.g. Flow direction symbol > Flow direction symbol in the explorer pane to the left.
Then select the type in this Flow direction in the right hand pane.
Last enter the name for the shape. In this case Flow Direction.
Click the Next button to continue.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva51
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Step 2: Selecting the Stencil Select the destination stencil e.g. TRA_Stencil and click Next button to continue.
Step 3: Annotation Style Settings Select the click Next button to continue to the next step. No default annotation settings available for this item type.
Click the Next button to continue.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva52
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Step 4: Attribute Presentation Select the click Finish button to add the shape to the selected stencil. The user will also be prompted to Save Work or not.
Click on the Yes button to save the imported shape.
In addition, user can define a flow direction symbol that is automatically attached to a dropped piping or HVAC connector.
This can be achieved using the default settings in Diagram Options or in the Import Shape Wizard by specifying a stencil and a name of the flow direction symbol to be automatically dropped.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva53
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Specify preferred Flow direction symbol’s Stencil and Flow direction symbol name. In the example enter the following details.
Flow direction symbol’s Stencil: TRA_Stencil Flow direction symbol: Flow Direction
Click on the OK button to save the settings
5.3
Create an Inline Fitting Symbol for Piping – A Worked Example
Using the available standard Drawing tool in AVEVA Diagrams from the Home tab create a valve symbol, once complete make sure that all the lines, circles, etc. are grouped together using the right click context menu Group > Group .
Now select the shape so it is active and then select the Connection Point Tool from the Standard toolbar. Holding down the Ctrl key on the keyboard click with the cursor where the connections are to be placed.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva54
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Remember that the first added point will correspond to Ppoint 1 on the catalogue item. When an inline fitting is connected, arrive and leave are resolved depending on the connections. i.e., if conn 1 is connected to the leave of another fitting during define, conn 1 will arrive and vice versa. If it is not connected when defined arrive and leave will default to 1 and 2 From the Standard toolbar, click the Pointer Tool icon, and select the element so the vertexes are highlighted. Select Import Shape from the Admin tab.
The Import Shape Wizard Type and Name of Shape form appears, using the Import selected shape as tree, navigate to the correct element type that corresponds to the previously drawn shape. Key in the shape name Valve_Type1 and then click the Next button.
The symbol can be defined as a directional component using the Directional component checkbox or its GTYPE can be set as an instrument using the Classify as Instrument checkbox. Repeat the same process as shown in the previous example until the shape is saved to the required stencil.
The shape is saved and appears inside the stencil.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva55
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
5.4
Create an Inline Fitting Symbol for HVAC
Using the available standard Drawing tool in AVEVA Diagrams from the Home tab create a Damper symbol, once complete make sure that all the lines, circles, etc. are grouped together using the right click context menu Group > Group .
Select the shape so it is active and then select the Connection Point Tool from the Standard toolbar. Holding down the Ctrl key on the keyboard click with the cursor where the connections are to be placed.
From the Standard toolbar, click the Pointer Tool icon, and select the element so the vertexes are highlighted. Select Import Shape from the Admin tab.
The Import Shape Wizard Type and Name of Shape form appears, using the Import selected shape as tree, navigate to the correct element type (e.g. Damper) that corresponds to the previously drawn shape. Key in the Shape name HVAC Damper and then click the Next button.
Repeat the same process as shown in the previous example until the shape is saved to the required stencil.
Remember that the first added point will correspond to Ppoint 1 on the catalogue item. When an inline fitting is connected, arrive and leave are resolved depending on the connections. i.e. if conn 1 is connected to the leave of another fitting during define, conn 1 will arrive and vice versa. If it is not connected when defined arrive and leave will default to 1 and 2.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva56
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The shape is saved and appears inside the stencil.
5.5
Create an Elconn Symbol for Cables – A Worked Example
Equipment elements can contain electrical component elements that represent electrical components within an equipment. Cables are connected to ELCONN elements (Electrical Connection Element). To create an ELCONN symbol: From the Home tab, select the Line Tool from the Tools group, draw a line and then select the Ellipse Tool, and draw a circle as shown.
Once both the line and circle have been drawn select both of them so their vertices are highlighted and then right click.
From the right click context menu select Group > Group, this will group the two elements together. Now from the Home tab, Tools section; select the Connection Point Tool
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva57
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 With the grouped element selected, hold down the Ctrl key and indicate the two positions for the connections, now select each connection in turns and right click, then select from the right click context menu making sure that one connection is Outward (this is the one that will attach to the equipment) and the other Inward (this is the one that the cable will connect to).
Now from the Standard toolbar, click the Pointer Tool icon, and select the element so the vertexes are highlighted. From the Admin tab, select Import Shape and repeat the same process as shown in the previous example until the shape is saved to the required stencil.
From the Admin tab, select Import Shape. The Import Shape Wizard Type and Name of Shape form is then displayed. Select the appropriate category Equipment items and navigate to the correct element type (e.g. Electrical connection) that corresponds to the previously drawn shape in the explorer pane to the left. Enter the Shape name Electrical Connection and then click the Next button.
Repeat the same process as shown in the previous example until the shape is saved to the required stencil.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva58
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The shape is saved and appears inside the stencil.
5.6
Create Equipment Symbol
Using the available standard Drawing tool in AVEVA Diagrams from the Home tab create an Equipment symbol. Once complete make sure that all the lines, circles, etc. are grouped together using the right click context menu Group > Group .
Add connection points as described previously. In this example add to 2 connection points by selecting the Connection Point Tool from the Standard toolbar. Holding down the Ctrl key on the keyboard click with the cursor where the connections are to be placed.
Set the Connection point type to Inward by right clicking on a connection point.
The Connection Point type can also be edited via the Edit Connection Points in the Import Shape Wizard.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva59
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
From the main pull down menu select Import Shape from the Admin tab. The Import Shape Wizard Type and Name of Shape form is then displayed. Select the appropriate category Equipment items and navigate to the correct element type (e.g. Equipment) that corresponds to the previously drawn shape in the explorer pane to the left. Enter the Shape name Pump and then click the Next button.
The ‘ Accept dropped shape’ checkbox allows user to set if the equipment shape is to accept dropped elements, i.e. sub-equipment, electrical connections etc.
For equipment symbol creation there is an additional step which is ‘ Step 5’ in the Import Shape Wizard . In this step, it is possible to specify a default catalogue search filter for the shape. If this is done, the filter will be applied in subsequent catalogue search operations using the Manual Catalogue Selection. Default filters can be specified in Diagrams Options by using the Catalogue search settings, Default filters for non-pipeline elements settings. If these should be used, the Use filter defined in Diagrams Options checkbox should be checked. Otherwise a specific filter for the particular shape can be specified in the Default catalogue search filter textbox.
This default catalogue search filter for the shape can also be apply to cable or HVAC line shape as well. If a filter is referred that includes searching in the correct category for cables. Selecting the cable shape in the drawing and go to the catalogue search window, it will automatically apply the pre-defined filter so only the relevant cable catalogue items will be shown.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva60
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Select the click Finish button to add the shape to the selected stencil. The user will also be prompted to Save Work. Click on the Yes button to save the imported shape.
5.7
Create a Nozzle Symbol
Nozzle shapes can be added to equipment items by dragging and dropping onto an equipment item. They can be attached to a connection point on the equipment item or just to the geometry. Nozzle items will then be created under the equipment item in the DB. In case a nozzle shape is not connected to an equipment item on drop, it can be connected later, and will not be defined in the database until it is connected to an equipment item.
5.7.1
Create a Nozzle Symbol - A Worked Example
Using the available standard Drawing tool in AVEVA Diagrams from the Home tab create a shape that represents the nozzle symbol. Once complete make sure that all the lines are grouped together using the right click context menu Group > Group .
Add connection points as described previously. In this example add to 2 connection points by selecting the Connection Point Tool from the Standard toolbar. Holding down the Ctrl key on the keyboard click with the cursor where the connections are to be placed.
Set the Connection point type to Outward and Inward by right clicking on a connection point.
Nozzle has two connection points the one that attaches to the equipment has an Outward connection and the one that connects to the pipeline has an Inward connection point.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva61
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Before shapes can be imported to a stencil using the Import Shape Wizard, if require the user can add special features such as setting the nozzle to orientate itself towards the outside of the equipment when user drags the nozzle near to the connection point of the equipment. This can be done using Standard Microsoft Office Visio application as illustrated below.
Copy the shape to the Standard Microsoft Office Visio application and with the shape grouped and the vertexes highlighted right click and from the right click context menu select Show ShapeSheet .
The Shape sheet appears and user will have to scroll down to the Connection Points section.
At the connection point 1, change the DirX / A to -1 mm and leave the others as 0 mm. Now the nozzle will orientate itself towards the outside of the equipment when user drags the nozzle near to the connection point of the equipment.
Copy the shape to AVEVA Diagrams and import the shape using the Import Shape Wizard.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva62
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Select Import Shape from the Admin tab. The Import Shape Wizard Type and Name of Shape form is then displayed. Select the appropriate category Equipment items and navigate to the correct element type (e.g. Nozzle) that corresponds to the previously drawn shape in the explorer pane to the left. Enter the Shape name Equipment Nozzle and then click the Next button.
Repeat the same process as shown in the previous example until the shape is saved to the required stencil.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva63
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
5.8
Creating Grouped Shapes
It is possible to group together several shapes into a unit that can be added to a stencil. This is achieved by building up the arrangement in the drawing canvas and saving it to the database for further use. Select the shapes that will form the assembly, and then use Ctrl+drag to copy them to an empty space within the drawing.
The shapes will be undefined and they could be grouped manually. The administrator will need to save this shape into a stencil by dragging and dropping the shape to the appropriate stencil. This assembly of shapes can then be dragged and dropped onto a drawing, thereby adding an arrangement of branches and inline fittings in a single operation. If a pipe is connected, the assembly of shapes will then be defined automatically.
If grouped prior to adding to a stencil when an assembly of shapes is added to the drawing, it is recommended to ungroup it using the Right click > Shape > Ungroup before proceeding to connect or modify. If this is not done, it can result in unexpected behaviour.
In case the arrangement contains more than one branch, the user will have to select a part in each branch and define them by right clicking on the branch in the drawing and selecting Define Branch or using the Define icon from the toolbar.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva64
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
5.9
Instrument Instru ment Rela Relationsh tionship ip Shap Shapes es
An instrument relationship shape is created as a connector tool, the same as for pipelines and a style can be applied to the line to represent the type of signal line, if required. Import the shape as an Instrumentation, Instrument Instrument Relationship Relationship Shape item from the list.
Instrument relationship shape symbol
A connection between the offline instrument and actuator is achieved by instrument relationship line which is using an electrical interface.
5.9.1
Instrumen Instr umentt Relations Relationship hip Symbol Symbol - A Worke Worked d Example Example
Use the available available standard Drawing tool in AVEVA Diagrams from the Home tab create a shape that represents the Instrument relationship shape symbol.
Once the line is draw select the line and the vertexes are automatically highlighted. Right click on the line to display the context menu. Select Line option form the Format submenu.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva65
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The Line form is the displayed. This will allow the user to change the representation of the line i.e. Pattern, Weight, etc. In this example modify the following field:
Dash type: Select “04” from the available available pulldown list. Weight : enter 0.24 0.24 pt. using Custom Line Weight form. End: Select “43” from the available pulldown list.
When finished click the Apply button follow by the OK button to close the form.
Select the newly drawn shape to be imported and click on the Import Shape option from the Admin tab to display the Import Shape Wizard window.
Select the appropriate appropriate category Instrumentation and navigate to the correct element type (e.g. Instrument relationship shape) that corresponds to the previously drawn shape in the explorer pane to the left.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva66
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Enter the Shape name Instrument name Instrument Relationship Shape and Shape and then click the Next button. Repeat the same process as shown in the previous example until the shape is saved to the required stencil.
Instrument Relationship Shape does not represent any database element but it can display information from a database element that is associated with its start. When Instrument Relationship Shape connects two valid items, it changes colour to ‘defined’. The colour can be determined in Diagrams Options:
Please refer AVEVA Diagrams Diagra ms User guide for more details on Instrumentation Relationship shape.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva67
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
5.10 Crea Create te an Area Area Shape Shape Area shapes provide the possibility to define an area on the diagram which may correspond to a Room. However However it doesn’t represent any database database element element but gives general mechanism mechanism for assigning assigning attribute values based on the location of the shape within the frame provided by the Area Shape unless it is defined in the database. Area Shape can control sets of attributes and their values are automatically applied to shapes it contains.
5.10.1 5.10. 1 Crea Create te an Ar Area ea Shape - A Worked Worked Example An area can be represented by any 2-dimensional shape which is imported on a stencil as an Area Shape using the Import Shape Wizard. Before the area shape can be imported to a stencil using the Import Shape Wizard, a shape that represents Area shape symbol is drawn using the available standard Drawing tool in AVEVA Diagrams from the Home tab. Once complete make sure that all the lines are grouped together using the right click context menu Group > Group.
Select the newly drawn shape to be imported and click on the Import Shape option from the Admin tab to display the Import Shape Wizard window.
Select the appropriate appropriate category Area Shape and navigate to the correct element type (e.g. Area shape) that corresponds to the previously drawn shape in the explorer pane to the left.
Enter the Shape name Area name Area Shape and Shape and then click the Next button.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva68
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The same process as previously shown is repeated until the user get to ‘ Import Shape Wizard step 4 of 4: Attribute Presentation Settings’ page. In this Step, user can define attributes that can be propagated to shapes contained by the Area and those who should only be displayed in Area's Shape Data.
To modify the default attribute presentation settings for Area Shape during Import Shape, uncheck the Use default attribute presentation settings checkbox. In the Propagate column check the preferred attributes (e.g. DESC, FUNC & PURP) checkbox.
All attributes with the Propagate field checked will be controlled by Area and propagated to contained shapes.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva69
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Select the click Finish button to add the shape to the selected stencil. The user will also be prompted to Save Work. Click on the Yes button to save the imported shape.
After the Area shape is saved to the selected stencil, it can be used by dragging and dropping onto any drawing. An Area shape can be located on foreground or background of a diagram page.
In Diagrams Options, there is a setting to control how the application should behave when a user tries to change an attribute controlled by the Area Shape - ‘ Allow to modify attributes of contained shapes ’
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva70
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
All attributes with Propagate checkbox checked will be controlled by Area and propagated to contained shapes. In addition it is possible to specify prefixes which would be set for both propagated and not propagated attributes in Shape Data. The prefixes can be set in Diagrams Options for Area Shape.
Default set of attributes controlled by Area Shape can be modified in Diagrams Options in Attribute Presentation tab. Additional attribute could be added by clicking Referenced attributes button.
It is possible to override these attributes during the Import Shape Wizard, provided that Allow individual shape settings to override default settings checkbox is checked in Diagrams Options.
Please refer AVEVA Diagrams User guide for more details on Defining Area Shape.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva71
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
5.11 Create a Title Block Shape Title Block shape can be used to annotate a diagram or template. Its behaviour is similar to Multi-label, but it cannot be connected to any shape as it displays the attributes of the diagram or template. A shape for Title Block can be created using the Import Shape Wizard and then be dropped on a drawing as any other shape.
5.11.1 Create a Title Block Shape - A Worked Example Typically the Title Block consists of several fields (grouped shapes) - each of them representing an attribute. A shape that represents Title Block can be drawn using the available standard Drawing tool in AVEVA Diagrams from the Home tab. Once complete make sure that all the lines are grouped together using the right click context menu Group > Group .
Select the newly drawn shape to be imported and click on the Import Shape option from the Admin tab to display the Import Shape Wizard window.
Select the appropriate category Annotation and navigate to the correct element type (e.g. Title block) that corresponds to the previously drawn shape in the explorer pane to the left.
Enter the Shape name Title Block and then click the Next button.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva72
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The same process as previously shown is repeated until the user get to ‘ Import Shape Wizard step 3 of 4: Annotation Style Settings’ page. In this Step, user can define texts for particular fields can be formatted according to the Attribute Presentation Notation and line breaks are supported in the same way as for Shape Text. During importing Title Block, font and colour of text can be defined separately for each field.
To enhance the title block labels the user can combine native attribute presentation with PML1 expressions, for more information on annotation please see Appendix A
The user can use PML1 expressions in the Shape Text attribute when creating a new symbol or editing a master. For more information on PML1 Expressions please see Appendix A
Click the Next button, until the shape is saved to the selected stencil.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva73
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Once the shape is saved to the selected stencil, the Title Block, can be drag and dropped on to a diagram/template the annotation strings defined for particular fields are evaluated according to the existing database attributes.
Those strings can be re-defined using the Shape Data option from the right-click menu of a single text field.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva74
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
5.12 Create a Revision Block Shape The Revision Block Shape is a table displaying revision-related information. Layout and content of this table is configurable in AVEVA Lexicon, through the Revision Block (REVBLD) element referenced in the current Revision Configuration (REVCON).
For more information on Revision Configuration (REVCON), please see Section 9. To use the Revision Block Shape in AVEVA Diagrams, it has to be imported beforehand using Import Shape Wizard. In the Import Shape Wizard the Revision Block Shape type is available under Annotation shapes.
5.12.1 Create a Revision Block Shape - A Worked Example Use the available standard Drawing tool in AVEVA Diagrams from the Home tab draw a shape that represents the Revision Block shape. Any two dimensional shape can be imported as a Revision Block.
Select the newly drawn shape to be imported and click on the Import Shape option from the Admin tab to display the Import Shape Wizard window.
Select the appropriate category Annotation and navigate to the correct element type (e.g. Title Revision Block) that corresponds to the previously drawn shape in the explorer pane to the left.
Enter the Shape name Revision Block and then click the Next button.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva75
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The same process as previously shown is repeated until the user get to ‘ Import Shape Wizard step 5 of 5: Revision Block Configuration’ page.
Step 5 of the Import Shape Wizard allows the user to select the Revision Block Configuration (REVBLD) element, which will determine the Revision Block layout.
All Revision Block Configuration (REVBLD) element referenced in the current used Revision Configuration are displayed.
Select the click Finish button to add the shape to the selected stencil. The user will also be prompted to Save Work. Click on the Yes button to save the imported shape.
During the import process the shapes will be changed to a table with width and height dimensions of the original, source shape.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva76
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
In Diagrams Options, there are settings to enable and control how the Revision control mechanism should behave when a user drag and drop the Revision block onto any drawing. Select the Revision Handling Options as highlighted. This option allows user to choose Revision Configuration Element to be used in Diagrams.
Choose Revision Configuration Element to be used in Diagrams by selecting the browse button as shown:
Then Click the OK button to save the settings.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva77
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Then Click the OK button in the Diagrams Option dialog to save the settings.
5.13 Create a Revision Mark Shape The Revision Mark Shape is a specific “Label” shape. It displays number of a revision at which the connected shape was modified for the last time. Revision Mark Shape can be sensitive to changes of Database Attributes of the connected shape, graphical changes of this shape, or both.
5.13.1 Create a Revision Mark Shape - A Worked Example Use the available standard Drawing tool in AVEVA Diagrams from the Home tab draw a shape that represents the Revision Mark shape.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva78
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Once complete make sure that all the lines are grouped together using the right click context menu Group > Group.
Select the newly drawn shape to be imported and click on the Import Shape option from the Admin tab to display the Import Shape Wizard window. Select the appropriate category Annotation and navigate to the correct element type (e.g. Revision Mark) that corresponds to the previously drawn shape in the explorer pane to the left.
Enter the Shape name Revision Mark and then click the Next button.
Repeat the same process as shown in the previous example until the shape is saved to the required stencil.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva79
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Revision Mark Shapes can be setup in “ Diagrams Options” via “Revision handling options” to detect changes of Database attributes of connected shape, graphical changes of this shape, or both.
To do this, the following Revision Mark fields in Revision handling options must be completed.
Revision Marks on drawing changes : set to “True”.
Revision Marks Elements : Select preferred Element Types in this example SCEQUIP and SCVALV from Select Element Types dialog.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva80
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Revision Marks Attributes : Select preferred Element T ypes database attributes in this example “Description” and “Name” from Select Attribute dialog.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva81
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Stencil field: Select the Stencil that contains the appropriate Revision Mark Shapes. In this example select ‘/TRA_Stencil’ from the Select database element dialog.
All Revision Mark Shapes are created on separate layer named “Revision Marks”, allowing easy visibility toggle.
Revision mark shape field: Enter the Name of the shape representing the Revision Mark, in this case ‘Revision Mark’.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva82
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Finally click the OK button in the Diagrams Option dialog to save the settings. Select Yes button to save changes of Diagrams Defaults.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva83
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Exercise 5 – Defining Shapes Configuration
1.
Create the following symbols, Gate Valve, Nozzle, Elconn, Damper, Silencer, Reducer, Radius Bend, Mitred Offset, Square Bend, Three Way, Oval Branch Connector and the Circular Branch Connector and use the Import Shape Wizard to add them to the stencil.
2.
Create the following line patterns, Pneumatic, Capillary and Electrical Line.
3.
Create an offline instrument with attachment line and an actuator.
4. 5.
If you have any other stencils in your system, import these stencils into your current project. Create a new template with your company title. You can insert an AutoCAD file to assist you with this. If you have any other template in your system, import these templates into your current project.
6.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva84
CHAPTER 6
6
Create Shapes with Special Features in Microsoft Visio ®
Creating shapes with special features, the Microsoft Visio ® Shape Sheet has to be used. For technical reasons, this is not available in the AVEVA Diagrams application. If the user needs to access the Shape Sheet for making special settings in the shapes, the user will have to copy the shape to the Standard Microsoft Visio ® application, access the Shape Sheet, and then copy the shape back to AVEVA Diagrams.
Before the user starts to create the shape in Microsoft Visio ® , set the grid size to fixed and 1mm spacing and also make sure that the Run in developer mode is activated. This is done by selecting Tools > Options and selecting the Advanced tab.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
85
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
6.1
Create Double Sided Connector Line - A Worked Example
Open Microsoft Visio ® , and create a new blank diagram (Metric) by double click on the Blank drawing icon. Alternatively single click on the Create icon to create a blank diagram.
A blank diagram is then displayed.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva86
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Select the Developer tab and check the Drawing Explorer checkbox. The Drawing Explorer is then displayed.
Select Line Patterns, right click and select New Pattern from the right click context menu.
Name the new pattern line as HVAC Duct , pick the line pattern Radio button, select the third behaviour , check the Scaled check box and click OK .
The HVAC Duct pattern appears in the Drawing Explorer Menu.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva87
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Right Click the HVAC Duct Patterns and select Edit Pattern Shape option from the displayed context menu. A new blank diagram is displayed.
Right click on any blank space of the diagram and select Show Shapesheet from the right click context menu .On the Page Properties section of the ShapeSheet, change the PageWidth to 2mm and the PageHeight to 4mm
Draw the required lines. In this case, a horizontal line has been drawn 1 mm from above and 1 mm from below; to create a branch connector of width 2 mm.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva88
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Close the diagram. The dialogue box below appears. Click Yes , after which the application switches to the original diagram.
Select the Connector Tool and draw a 4x6 line and right click the line and select Format > Line from the right click context menu. The newly created HVAC Duct appears under the Line Pattern. Select it, click Apply then OK
The connector line is now double sided and can be used in AVEVA Diagrams. Copy the connector line with the HVAC Duct pattern.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva89
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Paste the copied connector line with the HVAC Duct pattern into AVEVA Diagrams and import the shape.
Select the shape (HVAC Duct) to be imported and click on the Import Shape option from the Admin tab to display the Import Shape Wizard window. Select the appropriate category HVAC Line elements and navigate to the correct element type (e.g. Line) that corresponds to the previously drawn shape in the explorer pane to the left.
Enter the Shape name HVAC Line and then click the Next button.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva90
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Repeat the same process as shown in the previous example until the shape is saved to the required stencil.
The same procedure can be used for creating line patterns for the instrumentation
6.2
Creating a Label with an Attachment Line – A Worked Example
For shapes that can be attached to other shapes using a control handle, such as labels and off-line instruments, it can be preferred to have an attach line showing where the item is connected. This can be achieved by going through the following steps: Using the Line tool in Microsoft Visio ® , Visio, create the shape as shown to represent the label and then group the shape together, this is done so the attachment line can appear behind the label.
The same procedure can be used for creating line patterns for the instrumentation
Now with the shape grouped and the vertexes highlighted right click and from the right click context menu select Show ShapeSheet .
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva91
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The user is require to insert two sections one for the Geometry and one for the controls, to do this right click on the shape sheet and select Insert Section . The Insert Section form appears, tick the two required sections and then click the OK button.
The two new sections are now visible inside the shape sheet window.
In the Geometry section change the MoveTo for the X and Y to Width*0.5 and Height*0.5 and change the LineTo for the X and Y to Controls.Row_1 and Controls.Row_1.Y
This draws a line from the centre to the corner.
In the Control section, move the control point by dragging or use the control section to move the geometry away from the corner, in the Controls.Row_1 for the X change to Width*1.9167
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva92
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 To ensure that the text of the created shape will be displayed in behind. Select the shape and click on the Behaviour button from the Developer Tab.
Make sure that Group data field is set to "Behind member shapes " in the Behaviour window.
Then click the OK button.
The text of the created shape will be displayed in behind member shapes.
Please refer AVEVA Diagrams User guide for more details on creating a label with an Attachment Line.
The shape prepared can now be imported using the Import Shape Wizard as Offline Instrument or Label and used in the drawing. This can be achieved by going through the following steps:
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva93
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Copy the shape from Microsoft Visio ® , into the AVEVA Diagrams application, by selecting the shape so the vertexes are highlighted and right click, from the right click context menu select Copy.
Return to the AVEVA Diagrams application, right click and select Paste.
To define the shape data for the shape, right click on the shape and select Data > Define Shape Data from context menu to display the Define Shape Data form.
In the Label field enter Text and then click the OK button.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva94
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 To get the shape into the stencil, select the shape so the vertexes are highlighted and drag the shape into the required stencil. A message dialogue box appears, telling the user “This stencil is open read-only. Would you like to edit the stencil, so that the operation can be complete?” click the Yes button.
The new shape is now added to the stencil, right click on the shape and from the right click context menu select Rename Master . Key in the new name Label_Type1.
Remember to Save Work and save the stencil The above example will allow for creating a shape with desired behaviour only before Import Shape is executed on the shape. It is because of the need to group shapes to achieve attachment line functionality.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva95
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
6.3
Creating a KKS Flag Annotation – A Worked Example
It is possible to create a flow sensitive annotation which reflects the true direction of the flow on a branch. Any non-symmetrical shape created in Microsoft Visio ® could be modified using the shape sheet and imported into AVEVA Diagrams to be flow sensitive. This can be achieved by going through the following steps: Open Microsoft Visio ® , and create a non-symmetrical shape that initially shows a flow direction horizontally from left to right by default as shown. Making sure the shape is grouped
The shape must be grouped.
Use the Shape Sheet and modify the text position and the rotation point as shown.
Right click on the shape sheet and select Insert Section option. The Insert Section form is displayed, check the Text transform checkbox to insert the section and then click the OK button.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva96
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
In the Text Transform section, modify the TxtPinX and TxtPinY where necessary to show the text in the flag. In this example change the TxtPinY value to 0.75
In the Shape Transform section, change the LocPinX and LocPinY value where necessary to move the centre of rotation to the bottom-centre of the shape. In this example modify the following fields as shown:
Width 17.5mm Height 21 mm PinX 54 mm PinY 89 mm LocPinX Width*0.5 LocPinY Height*0
The shape is transform in accordance with the data.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva97
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 This shape could be copied to AVEVA Diagrams and imported as a label using the Import Shape Wizard. The Flow sensitive and Move with 2D shapes options could be set during the Import Shape Wizard or after the shape is on the canvas using its right click context menu. The shape text also could be set during the Import Shape Wizard, using Tools > Edit Master option from the main menu or Shape Data Window afterwards.
Enter the Shape name KKS Flag and then click the Next button.
The same process as previously shown is repeated until the user get to ‘ Import Shape Wizard step 3 of 4: Annotation Style Settings’ page.
Step 3 of the Import Shape Wizard allows user to set the Flow sensitive and Move with 2D shapes options could be set during the Import Shape Wizard or after the shape is on the canvas using its right click context menu.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva98
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Click the Next button, until the shape is saved to the selected stencil.
To use the flag annotation; drag and drop the shape on the canvas and connect it to a line using the yellow diamond handle. If the connection is successful, the handle should turn red, the direction of the flag should be adjusted according to the flow and the flag should display the attribute value of the connected element. The size and the position of the flag could be adjusted manually.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva99
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
This page is intentionally left blank.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva100
CHAPTER 7
7 7.1
Diagrams Rules Consistency Check Rules
In AVEVA Diagrams the user can define rules to be applied during consistency checks. The Consistency Rules and the Formatting Rules both reside in the Diagrams Rules form which can be reached via the Rules command from the Admin tab.
The Consistency Rules provide functionality to configure actions depending on user defined conditions and create fully configurable definitions when a consistency check is made. In the Diagrams Rules form, the main nodes will be displayed under the Diagrams Rules node. It is not possible to remove or reorder these nodes, but they could be checked, partially checked or unchecked to determine whether the rules beneath are active or not. The same could be applied to rule sets or individual rules as well. When a rule or rule set is not active it will be skipped by the consistency check, but could be either executed manually or automatically on certain events. Using the right click context menus, the user can execute a number of commands.
Save Export Import Restore Apply Create Rule Set
This will save the changes made to the current rule set. This will export the current rule set to an xml file. This will import a rule set from an xml file. This will discard any unsaved changes, and will restore the current rule set from the latest saved point. This will apply the current rule. This will create a new rule set.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
101
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Create Rule Rename Delete Cut Copy Paste Rule Details
This will create a new rule. This will rename a rule set. This will delete a rule set. This will cut a rule set or a rule. This will copy a rule set or a rule. This will paste a cut or copied rule set or a rule. This will open the Diagrams Rule Details form for the current rule.
Copying and re-ordering is only possible in the scope of one kind of rules. As well as using the right click context menu, drag and drop can be used to re-order the rules
Depending on the hierarchy, it is possible to execute the commands on the right hand side of the form as well
Consistency rules can be specified by modifying their rule name and description, selection criteria, check to be performed on pre-selected shapes and the action to be taken on non-satisfying shapes. The details of each rule can be viewed and modified using the Diagrams Rule Details form. The name and the description of the rules can be changed any time using the appropriate fields at the top of the form. In the Shape Selection Criteria, the user can determine which elements should be taken into account while performing consistency check, e.g. bore size should be checked for inline components only. From the drop down list, Type & attribute value , PML Expression or Shapes without DB element can be selected. Each of these options will enable the form to display attributes; a textbox to define the PML expression or further options to specify the condition for the shapes without database element.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva102
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The administrator can also determine which shapes are selected using a Visio formula to filter the shapes on the page. i.e., formula (BeginX- EndX)*(BeginX-EndX)+(BeginY-EndY)*(BeginYEndY)>10mm could be used if the rule should be applied to shapes matching the given database criteria and in addition only if the length of the connector is greater than 10 mm.
Once the selection criteria are given, it is possible to highlight the matching shapes on the currently open drawing using the Highlight link label. The highlight could be reset using the Reset highlight link label. The shapes selected according to the shape selection criteria will be checked against the definition given as a PML expression or the definition selected from the library as shown. The PML expression should be a Boolean type and it should return a value of TRUE. Returning a FALSE value will cause the actions in the next tab to be applied to all shapes on the page that don’t comply with the shape selection criteria. There are a number of standard checks defined in Diagrams Consistency Rules Library, but it is also possible to define custom checks. They should be defined as classes implementing IDiagramsRulesCheck specified in Aveva.Diagrams.DiagramsRules in Aveva.Diagrams.dll. To be automatically picked up, the class defining check should be placed in a dll named *ConsistencyRulesLibrary.dll.
Checking the Execute for each connection checkbox will apply the definition for every connection of a given shape and action will be performed on every failed connection. If this option is unchecked, checks are performed only once for every shape matching selection criteria. On the Actions tab, the administrator can define actions to be taken on the shapes that have been selected by the shape selection criteria and failed to satisfy check definitions. The action can be defined as a PML macro which can be any operation to be executed on a database element connected with a shape. In addition, it is possible to select a number of actions from library. They can be added or removed by using Add action and Remove action link labels. Actions are executed in the order they appear in the list. To modify this Move up or Move down link labels can be used.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva103
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Similar to the check definition, actions are also pre-defined in Diagrams Consistency Rules Library, and also can be added by the administrator. To add custom actions, the administrator should define class implementing IDiagramsRulesActon specified in Aveva.Diagrams.DiagramsRules in Aveva.Diagrams.dll. To be automatically picked up, the class defining check should be placed in a dll named *ConsistencyRulesLibrary.dll.
As well as actions, severity of the rule and a message could be added to the rule details using the Actions tab. The severity could be selected as Information, Warning or Error. The icon displayed in the Message Log will depend on the severity of the rule and will be different for each. The message to be displayed in the Message Log can be typed in the Message field.
Using the Rule Options tabs could be helpful in customising the behaviour of the rules on certain events.
Don’t execute rule on events Use default configuration
Custom configuration
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
The rule will be executed manually. Behaviour depends on the Consistency Rules settings in Diagram Options.
Behaviour is specified locally for the rule and doesn’t depend on default configuration.
www.aveva104
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
7.2
Auto Formatting Rules – A Worked Example
In AVEVA Diagrams the user can define rules to be applied during the design to affect the formatting of the shapes. The Consistency Rules and the Formatting Rules both reside in the Diagrams Rules form which can be reached via the Rules command from the Admin tab as shown previously.
Once the Diagrams Rules form is displayed, right click on the Formatting Rules node and select Create Rule Set option from the right click context menu. Key in a name for the rule set and click OK
Having created and selected a rule set, it is possible to right click on the rule set or the right hand side of the form and select Create Rule from the right click context menu.
This will display the Diagrams Rule Details form which has 3 tabs, Shape Selection Criteria, Format to be assigned and Rule options. The Shape Selection Criteria tab is used to specify which items and which attributes should be used to select the items. In this example the Criteria is set to Type and attribute value , which means the type of item can be selected from the drop down list below (in this case All is selected) and the rules for applicable attributes and their values are setup in the grid below. The alternative to the Type and attribute value method of selecting the criteria is to use a PML expression. Key in the name and the description of the rule. In the Shape Selection Criteria tab, select the PSPE attribute and key in SP/DR07C in the Value field as shown. The administrator can also determine which shapes are selected using a Visio formula to filter the shapes on the page as described previously.
If the administrator has access to the schematic design; to identify which items on the diagram match this shape selection criteria the Highlight link on the form could be used, this highlighting can be removed using the Reset highlighting link
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva105
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Once the selection criteria are specified as required, the desired formatting to apply to the matching items can be specified using Format to Assign tab. A variety of formatting options are available including the ability to place the item on a drawing layer.
The drawing layer must have been previously set up to be visible in the drop down list Clear auto formatting checkbox can be used to clear previous formatting applied by other rules if the items fulfill the current rule criteria. When checked the formatting table will be greyed out and disabled for editing.
This rule can be used as an exception clause, i.e. one rule may say format everything with a spec of SP/DR07C , a second rule could be set up using the Clear auto formatting checkbox to clear the formatting for any pipe under 100mm in diameter
It is also possible to add or remove a user defined style using Add format and Remove format , provided that the Visio cell name and the value is known.
The final tab of the Diagrams Rules Details form allows the rule options for the application to be specified. If the Apply rule to protected members of grouped shapes option is not checked then any format defined in the rule will not be applied to group members protected from group formatting. It can be set by selecting Format > Protection and checking appropriate checkbox in Protection form. If the Overwrite guarded Visio formulas option is not checked then format will not be applied if corresponding cell in shape sheet is guarded, e.g. line colour will not be applied to shape if its LineColor cell contains formula “=GUARD(7)”
These options will be ignored and disabled for editing when “Clear auto formatting” is checked in “Format to be assigned” tab If the Apply rule automatically on events (if enabled) option is not checked then the rule will not be executed automatically even if Auto apply rules setting is on whilst executing the rules. In the Handling Annotations section the settings provide the possibility to decide when shape matches the rule, format should be applied to the shape itself without its annotations (labels), to shape with its annotations or to the annotations only. Once the rule has been set up as required, the Save button will save the rule and make it available to be applied.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva106
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Additional options regarding the use of the auto formatting rules can be set up from the Diagrams Options, accessed from the Options section in Project tab.
As rules are created the Auto Formatting Rules form will be updated. This form can be used to select which rules or rule sets should be applied using the check boxes in the tree view.
The rules are stored in xml files in the %PDMSDFLTS% folder
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva107
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
This page is intentionally left blank.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva108
CHAPTER 8
8
Link Documents
Each document or other resource, either external or internal, that can be linked to a database element is represented in the database as Link Descriptor. The Link Descriptor's main role is to carry information about the document it describes and a Uniform Resource Locator (URL). It is possible for any other elements in the database to reference these Link Descriptors through a two-way mechanism. This enables the users to find all elements that reference a particular Link Descriptor and the reverse, to find all documents referenced by an element. It is also possible to assign classification information to each Link Descriptor. The classification information provides the facility of assigning multiple class information to a Link Descriptor so that a search for all elements that have references to documents with specific classification assigned can be made. i.e., a search can be made for all Link Descriptors classified as "Installation"- class document or all pumps that do not reference any "Certificate" and "Security"- class documents. The schematic overview below shows the possible linkage to external documents and internal drawings.
Link World (LINKWLD) All elements related to links are stored under Link World elements. To use links the user has to create at least one Link World. It can store Link Folders, Link Classes and Link Descriptors. It is possible to assign Link Descriptors to elements in other databases. It is therefore recommended that LINKWL elements are created in a Schematic database of its own to which all relevant teams have read and write access.
Link Folders (LNFOLD) Under Link Worlds it is possible to organise all elements into a tree structure. The users can create Link Folders that can contain more Link Folders or Link Classes and Link Descriptors. This way it is possible to freely configure the hierarchy © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
109
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Link Descriptor (LNDESC) A Link Descriptor (LNDESC) element holds a link to documents and external resources. Both external documents and draft drawing elements can be referenced using a LNDESC. A Link Descriptor has the following attributes.
NAME DESC LNKURL
User-defined name of the LNDESC element. Description of the element. A string storing raw Uniform Resource Locator of the linked document.
Link Class (LNCLAS) The classification of documents is possible through use of Link Classes (LNCLAS). Each Link Descriptor (LNDESC) may be classified by multiple classes. The diagram below shows how each LNDESC is associated with more than one LNCLAS. A single Link Class may classify multiple Link Descriptors; in the diagram LNCLASI is associated with all three LNDESC.
A Link Class has the following attributes: NAME - user-defined name of the LNCLAS element. DESC - description of the element
There is also a pseudo attribute available named LNKDOC that returns a list of LNDESC elements that are classified by this LNCLAS
8.1
Configuring the Links Hierarchy – A Worked Example
Before it is possible to link documents to database elements it is necessary to create at least one Link World (LINKWL). The user can organise Link Descriptors and Link Classes into a hierarchy of folders. From the main pull down menu, select Links command from the View tab, the Linked Documents form is displayed. Select the Folders/Classes tab on the form and then right click and from the context menu select New World.
A New Link world folder is created, change the name to TrainingLinkWorld . Right click and from the context menu select New Folder . A New folder is created, change the name to TrainingLinkFolder .
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva110
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Navigate back to the TrainingLinkWorld element and repeat this to create a class named TrainingLinkClass
8.2
Adding Document Links – A Worked Example
Using the Schematic Explorer navigate to the element that requires the link. From the right click context menu of the current element or the Linked Documents form select Add Link.
Or
The Add Link to form is displayed. The user has four options to choose a link category.
Existing link Existing file Web page E-mail address
Allows user to add an already existing link in the database Allows user to add an already existing file in the database Allows user to add a web address Allows user to add an e-mail address
Select the Web page category to add. A Name and a Description may be added. Key in the web page address or use the Browse button to open the internet browser. Click the OK button to close the form.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva111
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The Select Destination container form appears, select the container inside which the link is going to be created and click OK button.
A New World, New Folder or a New Class can be created from the Select Destination Container form by right clicking and selecting the required command from the context menu
The linked web page details can now be seen in the Linked Documents Form.
Linked documents can be removed and the link broken by selecting the related document, right clicking and selecting Remove from the context menu
Folders including their contents can be deleted by selecting the folder to be deleted and then right clicking and selecting Delete command from the context menu
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva112
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
8.3
Assigning a Class – A Worked Example
Once a Document has been linked a Class can be assigned. From the Linked Documents folder select the linked document to add it to a class. Select the Assigned Class required i.e. TrainingLinkClass by checking the relevant check box.
8.4
Displaying Links – A Worked Example
If it is necessary for the user to check if a link exists, select the Links tab on the Linked Documents form and check the Follow CE check box. Using the Schematic Explorer the user can select each element to check if a link has been added.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva113
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Exercise 6 – Linked Document
1. 2. 3. 4.
Add link to TRA_Stencil selecting the E-mail address category. Add the same link to TRA_Diagram using Existing link category. Display the links added to TRA_Diagram. Add further links to design elements as per your company practise (i.e. Nozzle Spec).
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva114
CHAPTER 9
9
Reporting Schematic Data
The AVEVA Plant Schematic database stores a large amount of 2D schematic information about each element. The user can extract this data either graphically, in the form of diagrams, or in text form, in the form of a report. This chapter describes the principles and practice of producing reports from the Schematic database. Reports on the Schematic database can currently be produced using any of the methods listed below:
9.1
Visio Report Report Designer
Visio Report
All of the information needed to generate a report can be saved in a report definition. A report definition determines which shapes and properties are included in the report and how the report is formatted. The user can save a report definition in a file or directly in a drawing. To use the same report definition to generate reports from multiple drawings, the user must save their definitions in a file. To generate a report only in one drawing and easily distribute that drawing, save the definition in the drawing.
9.1.1
How to Create Visio Report – A Worked Example
The user can set up report definitions to summarize data by including subtotals and grand totals in the generated report. The user can also sort the report by columns and rows. From the Tools tab in AVEVA Diagrams, select Reports > Visio Reports, the Reports form is then displayed. Click the New button to display the Report Definition Wizard window.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
115
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Choose the desired shapes to report on, in this example select the Shapes on the current page radio button and then click the Advanced button.
The Advanced form is then displayed. Select the TYPE from the Property pull down list and equals from Condition from the pull down list. Enter in the Value SCVALV and click the Add button to populate the Defined criteria section of the form. Finally click the OK button.
The previous form is once more displayed, click the Next button. Select the properties to produce a report on by ticking the boxes i.e. Description, Name, Scstype and Pspec and then click the Next button. Enter in a Report Title Valve_Report and then click the Sort button to put the Report into the correct reporting sequence.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva116
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Move the Column order up or down to suit the report required, then click the OK button.
The previous screen appears once again, click the Next button. Key in a Name field Valve_Report , click the Save in a file radio button and then click the Finish button.
When the user runs the definition the data will be sorted with respect to the report definition given.
For more information on creating a report template see the TM-1300 AVEVA Plant (12.1) System Administration (Basic) or TM-2120 AVEVA Marine (12.1) System Administration (Basic) Training Guides
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva117
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
9.2
Report Designer
Report Designer enables users to create new reports, bind them to data, and pass them to another Workstation for loading into another instance of the Report Designer. In addition to report editing capabilities, it allows the user to display print previews and to print reports and export or print reports in different format such as PDF, HTML etc .
9.2.1
How to Create Report Template via Report Designer – A Worked Example
In AVEVA Diagrams, Report Designer is accessed by selecting Tools > Reporting > Run Report > Designer from AVEVA Diagrams main toolbar. The administrator could create the report template and save it to be used later by the user.
This will display the Report Designer window is then displayed.
While creating a new report it is important that the administrator defines the Data Source and Scope of the report. Click Data Source from Report Designer main toolbar, Data Source Wizard dialog is displayed as shown below.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva118
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
It is possible to define the data source by creating a new one or using an existing DB view. The data source created during this process will be saved into the definition of the report. To create a new data source select New and click the Next button.
Selecting Next button, displays the Properties dialog.
In the Name field enter require name, in this example enter Equip List In the Description field enter require description; in this example enter Equipment List
Click Next button from the Properties dialog. The Base Element Types dialog of the wizard is then displayed. Select at least one element type (in this case SCEQUIP), this will be the element type used to populate the report.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva119
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
The list of elements shown may be filtered by typing in the filter box.
The Database Type Filter may be applied by selecting the required database from the Database Types Filter field pulldown list highlighted.
Select the required element(s) in this case SCEQUIP by clicking on them and use the arrow buttons to move the selected elements for the data source to the Base Element Types box as shown below.
The Ctrl and Shift keys may be used to make multiple selections.
Click Next button from the Base Element Types dialog. The Filters dialog of the wizard is then displayed.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva120
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
.
The Filters may be added to limit the elements returned by the data source. These filters maybe simple attribute based comparisons, or more complex PML1 expressions.
Enter attribute based comparison filters in the Attribute Filters box. Enter PML1 expression filters in the Expression Filters box.
To add a new filter click on Add Filter button, select the required attribute (in this case “Name”) to apply the filter to and select the appropriate “ Operator ” which is this case “Contains”. Then enter the required Operator “Value” (in this case “/P”) as shown below.
Multiple filters may be defined. To delete a filter, select it from the list of filters and select the appropriate Delete Filter button
Click Next button from the Filter dialog. The Columns form of the wizard is then displayed.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva121
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
The Columns dialog or page allows user(s) to select the attributes to be included in the report for the selected element types.
The attributes of the base elements of the data source are displayed in the Available Columns box. If multiple elements have been selected for the data source, then either all attributes of these element types may be listed by clicking All Attributes, or only those common to all the selected element types may be selected by clicking Common Attributes
To add attribute column to the data Source Columns pane, which will be included in the report, click on the required and use the arrow buttons highlighted below to move the selected columns to the Data Source Columns box as shown below.
For multiple selections, press Ctrl and Shift keys from the keyboard.
Click Finish button when the data source definition is complete.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva122
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
The new data source is now available for use in the report. The data source is saved inside the report and the Field List on the right-hand side will display the attributes selected in the Data Source wizard as shown:
The data source may be edited by selecting Edit option of the Data Source Wizard
Select Equip List from Field List, Drag and drop the list to Detail section in the report or individually Drag and drop required attributes to Detail section in the report.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva123
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Use the Standard Control functions to add Page Header , Report Header and Company Logo if required as shown below.
Click Preview tab to see a preview of current layout with the first 20 records available from the associated data source:
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva124
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Click on Run Report as shown below to run the report definition with the actual data available from the currently bound data source.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva125
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Select the Watermark Icon
from the Run Report dialog to insert ghosted text as shown, if required.
The report can be saved, export or print in different format such as shown.
The data source may be edited by selecting Edit option of the Data Source Wizard Click on Save button from Report Designer main toolbar as highlighted below or menu option to save the current report definition as a report definition or report layout.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva126
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Enter appropriate File name, in this case enter “Equipment List” as shown and Click on Save button to save the file.
The file is save to User: %PDMSUSER%\Data\Reports as shown
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva127
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Exercise 7 – Report
1. Create a report using one of the functionalities described above to list all equipment items with Spref unset. Create columns to display Name, Description, Spref, and Position. 2. Experiment with the sorting facility and notice the way it changes the output. 3. Create a report template using one of the functionalities.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva128
CHAPTER 10
10 Status Control Configuration 10.1 Overview The Configuration of Status sequences and their status values is an administrative task done for each project. The configuration data is defined in the Lexicon module and is stored in the Dictionary database.
This chapter will require work in the Lexicon module (DICT database). Please make sure you have the required type of database with sufficient rights included in your current MDB Normal Lexicon commands for creating and deleting elements and setting the attributes values, are available to allow the systems administrator to build the status sequence and status value data structure. Status Management is the ability to control and report on the status of individual model objects as they progress through their lifecycles. It can be applied to any model objects, i.e. tagged items, catalogue components, drawings etc. the example below is a typical workflow:
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
129
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The status Management data model defines a workflow as a status definition owning a set of Status Values. Individual model objects reference the status value via a status link object as shown below. Status data is stored on the status link objects the user does not need write access to the model object in order to set its status. The status link objects are distributed globally with the model objects they refer to. They are not visible to the end user, but the status data is available as pseudo attributes.
Schematic Database (Diagrams)
Dictionary Database (Lexicon)
Globally distributed with model objects Status Link World
Status Definition Status Link Element Ref Status Value Ref Comment: Text
Diagram /TRA_Diagram
Pseudo Attribute Design Status Value: Work Completed Design Status Number: 40%
Status Value
10.2 Creating a Status World - A Worked Example Having selected a writable element, from the Dictionary Explorer, right click and from the context sensitive menu select Create > STAWLD: Status Configuration world , the Current Element Editor is now active for the new element key in the Name ‘ Diagrams_Status_World’ and the Description ‘ Diagrams Status World’
Navigate to the STAWLD. Select Create from right-click menu and click on STAGRP option from the rightclick submenu. In the new element key in the Name ‘ Diagrams_Status_Group’ and the Description ‘Diagrams_Status_Group’ . © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva130
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
10.3 Creating a New Status Definition - A Worked Example Using the Dictionary Explorer navigate to the newly created Diagrams_Status_Group’ , click the right mouse button and from the context sensitive menu select Create > STADEF: Status Definition. Update Current Element Editor accordingly:
Name field: Diagrams_Status. Description field: Diagrams_Status.
Click in the ‘Controllable element types’ field and a browse icon is activated.
Click the activated browse icon, the ‘ Select element type ’ form is displayed, in the Filter field key in SCD, select SCDIAGRAM from the resultant list and then click the Add to List button, this adds the selected
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva131
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 element to the Chosen element types list. Additional elements could be added if required, if no more elements are required click the OK button.
10.4 Creating a New Status Value Using the Dictionary Explorer navigate to the newly created Diagrams_Status definition, click the right mouse button and from the context sensitive menu select Create > STAVAL: Status Value. The Current Element Editor can now be updated key in the Name WorkPending , the Description Work Pending and Numerical value 0 .
Repeat this process to create additional Status Values using the given data below.
Name
Description
Numerical Value
Work_Started W ork_Suspended Work_Complete
Work Started Work Suspended Work Complete
20 15 50
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva132
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
10.5 Setting the Transitions - A Worked Example Once all the Status Values have been created the Transitions need to be set up against each status value. Using the Dictionary Explorer navigate to the first Status Value ‘ Work_Started’, in the Current Element Editor, select the Valid transactions field, a browse button appears. Click the browse button and the Select Valid status transitions for is displayed. Click the Valid transitions i.e. Work_Started and click the OK button.
Now the ‘ Promote’ and ‘Demote’ transactions can now be populated from the pull down list. i.e. Set Promote field to ‘ Work_Started’.
When there is more than one Promote valid transaction the one selected becomes the default and if the other valid transaction is required this can be selected from the Status Controller in Outfitting using the Edit Status option.
Repeat this process adding the Valid transactions, the Promote and Demote for each status value as given below.
Status Value
Valid Transactions
Promote
Demote
Work_Started
Work_Suspended Work_Complete
Work_Complete
Work_Suspended
Work_Suspended
Work_Started
Work Started
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva133
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
It is possible to view the definition values in a graphical view using the right click context menu as shown:
Once all the Valid Transactions have be setup, the administrator needs to select Lexicon > Save Work , a confirm form appears, click the Yes button to confirm.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva134
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Exercise 8 – Status Control Configurations
1. Create additional Status Values to “Diagrams_Status” definition created in ‘ Section 7.4’, using the given data below: . Name
Description
Numerical Value
Rework For_Check Checked Approved
Rework For Check Checked Approved
25 60 80 90
2. Using the procedure explained in ‘ Section 7.5, adding the Valid transactions, the Promote and Demote for each status value as given below:
Status Value Work_Complete
Valid Transactions For_Check
Rework
For_Check
For_Check
For_Check
Checked
Checked
Checked
Approved Rework
Approved
Approved
Work_Started
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
Promote For_Check
Demote
Rework
Work_Started
www.aveva135
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
.
This page is intentionally left blank.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva136
CHAPTER 11
11 Revision Control Configuration The Revision Control Mechanism is a version control tool. It allows user(s) to create a working revision, which can be later promoted to Issued (read-only) state. This process could be repeated resulting in multiple Issued Revisions of a drawing. The Revision Control Mechanism is based on Status definitions; as a result administrator must ensure that there is a preferred status definition that has the Schematic Diagram element type in its list of controlled element type.
Revision Control configuration setup consist of three parts, this is illustrated below:
Revision Number Definition Revision Block Definition Revision Configuration
Revision Configuration World
Revision Configuration Group Revision Number Definition
Revision Block Definition
Revision Configuration Definition
The Revision Control Configuration is defined in the LEXICON module of the AVEVA Administration product and is stored in the Dictionary database.
This chapter will require work in the Lexicon module (DICT database). Please make sure you have the required type of database with sufficient rights included in your current MDB
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
137
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
11.1 Revision Number Definition – A Worked Example This worked example illustrates how to configure a revision numbering system for Revision Control Mechanism in AVEVA applications. To start the creation of revision elements, administration folders/ containers must be created. Navigate to the Dictionary World /*. Select Create from right-click menu and click on REVCWL option from the rightclick submenu.
Enter the following data in the appropriate Current Element Editor Form textboxes
Name: Diagrams_Revision_World
Navigate to the REVWL. Select Create from right-click menu and click on REVCGP option from the right-click submenu.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva138
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Enter the following data in the appropriate Current Element Editor form textboxes.
Name: Diagrams_Revision_Group
To define the ‘Revision Number’ ; navigate to the REVCGP Group, select Create from right-click menu and click on REVNOD (Revision Number Definition) option from the right-click submenu to create a REVNOD revision element.
Select “Edit Revision Number Definition” from right-click menu submenu of the newly created REVNOD to display the Revision Number Definition form.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva139
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Enter the following data in the appropriate textboxes:
Display Name: Diagrams_Revision_ Number
The displayed name is a user defined name. User can enter any preferred name. Working Revision text : Enter any desired text e.g. *
Working revision text is displayed after the revision number on a non-issue version of a diagrams e.g. A01*.
Number of Parts: Select the number of revision parts e.g. “2”
A revision number can have several parts. Each part is either alphabetic or numeric.
Part: Select the revision part number e.g.” 1”, Part Name: Enter appropriate Part Name e.g. “Major” Value type: Set the part number value type e.g. “Alphabetic” .
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva140
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Number of Parts: Select the number of revision parts e.g. “2” Part Name: Enter appropriate Part Name e.g. “Minor ” Value type: Set the part number value type in this case. “Custom” to set up a custom defined sequence of characters.
To display the dialog for entering the sequence values click the Set button.
Enter each value on a separate line. The values can contain only alphabetic and numeric characters. A value can be more than one character long.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva141
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
The Test button will generate a test sequence and check if any duplicate values can be generated with the sequence.
The “Test Revision Number” form is shown with sample values from the sequence for each part and the combined revision number. If there are duplicate values it will show a message and highlight duplicate values in red.
11.2 Revision Block Definition – A Worked Example Navigate to the REVCGP Group (Diagrams_Revision_Group ), select Create from right-click menu and click on REVBLD (Revision Block Definition) option from the right-click submenu to create a REVBLD revision element.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva142
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Select “Edit Revision Block Definition ” from right-click menu submenu of the newly created “ REVBLD” (Revision_Block) to display the Revision Block Definition form.
Enter the following data in the appropriate textboxes.
Display Name: Diagrams_Rev
The displayed name is a user defined name. Users can enter any desired name. Status definition: Select the appropriate the status definition e.g. “Diagrams Status”.
The Schematic Diagrams element type “SCDIAG” must be added to status definition list of controlled element type.
Select the “ Add attribute” option to add desired attributes to the attribute column and enter preferred name in the “Header” column.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva143
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
The attributes are derived from status values. The attribute drop down contains fields for all states in the selected status definition.
Select the “Display headers ” checkbox option to display the headers.
Click the “OK” button from the “Revision Block Definition” form to save the settings.
11.3 Revision Configuration Definition – A Worked Example Navigate to the REVCGP Group (Revision_Configuration_Group), select Create from right-click menu and click on REVCON (Revision Configuration) option from the right-click submenu to create a REVCON revision element.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva144
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Select “Edit Revision Block Definition” from right-click menu submenu of the newly created REVCON (Revision Configuration) option.
Display Name: “Diagrams_ Revision_ Confi”
The displayed name is a user defined name. Users can enter any desired name.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva145
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Element type: Select the Schematic Diagrams element type “ SCDIAG” via the ellipsis button.
Status definition: Select the appropriate Status definition from the pull-down list e.g. “ Diagrams Status”. Associated revision block definition will automatically be displayed.
Create working revision at: Select the appropriate Status definition value from the pull-down list e.g. “ Working Started ”. Issue revision at: Select the appropriate Status definition value from the pull-down list e.g. “ Approved ”. Revision number definitions : Select the appropriate Revision number definition from the pull-down list e.g. “Diagrams_Revision_Number ”.
Revision block definitions : Revision number definition checkbox must be selected.
The Revision block definitions are optional, but should be selected for any configuration that uses them. The Datasheets application will list the selected revision blocks in the datasheet template explorer. Click the “OK” button from the Revision Configuration form to save the settings.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva146
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Fully configured Revision Control configuration setup consists of three parts as shown below:
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva147
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Exercise 9 – Revision Configurations
1. Defined preferred Revision control configuration for Schematic Diagrams element type “ SCDIAG” as shown. (a) Revision Number
(b) Revision Block
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva148
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
(c) Revision Configuration
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva149
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
This page is intentionally left blank.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva150
CHAPTER 12
12 Project Explorer The Project explorer is a user interface based on the AVEVA Flexible explorer tool. This interface allows for the presentation of schematic and engineering items structured according to 2D modelling preferences, functional locations or any other user defined structure formats. These structure formats are displayed in a hierarchical form within the AVEVA Diagrams application. Each structure can be based on a template which is also defined as a ‘ Root Node’. Further nodes can be built beneath the root node. Templates and their contents are represented as individual hierarchies within the Project Explorer. Every template is configured to be primarily based on a type (or purpose) of data, e.g. Schematic objects, Systems , Classes, and Documents or as a Project BreakDown Structure (PBS) . Unlike the conventional tree view explorer, the Project explorer has a dynamically active hierarchical structure. This means that the location of items can be dependent on the current set criteria, object types and attribute values. The Project explorer is fully configurable and can be setup within the LEXICON module of the AVEVA Administration product, or by XML configuration. LEXICON procedures required for a typical configuration are demonstrated in this chapter.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
151
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
12.1 Flexib Flexible le Explorer Explorer node configuration configuration structur structure e Using the Flexible explorer tool the Project Explorer can be configured according to the Lexicon/dictionary elements hierarchical structure shown:
Each box/nodes on the diagram is defined as shown:
PBSWLD
PBSTPL
PBSOBN
PBSTXN
PBSCRT
PBS Templates world: The top-level administrative element, which holds the PBS Templates.
PBS Template Definition: This is a definition of separate hierarchy structure, and is presented as a single root node
PBS Object Node: This can represent database objects, and can be used to define the generation of a set of nodes beneath the hierarchical level it is placed. The nodes and their inherent members will be dynamically updated when the attributes or criteria of related database objects are modified
PBS Text Node: This is simply a generating node, and does not represent any database object. But they can contain PBSOBNs
PBS Criteria: This element is used to position resulting objects from defined nodes, beneath an appropriate/required parent nodes
demonstrations in the follow following ing worked examples cover the creation and definition definition of the The demonstrations dictionary elements for a sample schematic dictionary schematic project explorer. This explorer will be develo developed ped and structured to display hierarchies for schematic diagrams, equipment, offline instruments, lines and their inherent inline components, for available schematic areas.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva152
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
12.2 Confi Configure gure Projec Projectt Explorer Explorer This section covers the detailed configuration procedures required to build up a standard schematic project explorer. Prior to configuring a project explorer, the user must have clearly defined the requirements and purposes of the explorer. This will enable for appropriate procedures to be followed to achieve the required explorer behaviours. The generated schematic explorer will be largely similar similar to the default schematic schematic database database explorers except for additional hierarchy elements, and specific explorer behaviours. These configuration exercises are conducted within the LEXICON module of an AVEVA Administration product within an appropriate dictionary (DICT) database.
12.2.1 12.2. 1 Crea Creating ting a PBS World (PBSWLD) (PBSWLD) – A Worked Worked Example Within the Dictionary Explorer of the Lexicon module, select the topmost element in the dictionary explorer (Dictionary World), click the ‘ Create ’ entry on the menu bar, or right click to display the context menu and click the ‘Create’ > ‘ PBSWLD: PBS Templates World’ entry, to create a PBS Templates world
Within the Current Element Editor , fill in the attribute details of the created PBS world as shown.
12.2.2 Creating a PBS Template Template (PBSTPL) – A Worked Example Select the created PBS World, display the context menu and click ‘ Create’ > ‘ PBSTPL: PBS Template Definition’ to create PBS Template definition.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva153
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Within the Current Element Editor , fill in the attribute details of the created PBSTPL as shown.
The ‘PBS text’ entry specifies the text to be displayed on the created template, like a node name. This is set to ‘Schematic Project Explorer ’. ’. ‘PBS Sorting’ entry specifies the order in which items generated from nodes beneath the root node/template will be placed. This is set to ‘ Natural Unless Type force Sequence ’, which is selected from the pick list. Hence Hence items items with with node node texts texts which which begin begin with with earlie earlierr alphab alphabets ets will will be listed/ listed/ord ordere ered d first first before before lower lower alphabets, except in the cases where items are listed beneath types. A user defined context menu can be referenced and setup for the template node with the ‘PBS context menu’. This could be extracted from a method within a pml function using the ‘ Flexible Explorer Expression’ Expression’ Editor form. form.
function will be demonstrated demonstrated later in this chapter An example on the use of this function Each node and items on the Flexible Explorer interface can have an icon displayed next to its text. The ‘ PBS icon ’ entry specifies what icon is to be displayed by typing in the icons name (as this must already exist in the Shared Resources location) or can be derived with a PML 1 expression .
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva154
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
This will be left blank, which will have a default icons representing the objects displayed in the explorer.
From the created PBS World, and PBS Template, the resulting explorer hierarchy will be displayed within the AVEVA Diagrams application as shown:
The user will have to log into the Diagrams Diagrams module of the Diagrams 14.1 application, click the Project Explorer button button to displa display y the Projec Projectt Explo Explorer. rer. If the explorer user interface is alread already y get work ’ updates the contents of the explorer with changes from being displayed, then running a ‘ get the Lexicon module
12.2.3 12.2. 3 Crea Creating ting a PBS Object (PBSOBN (PBSOBN)) – A Worke Worked d Exam Example ple Select the created PBS Template, display the context menu and click ‘ Create’ > ‘ PBSOBN: PBS Object Node’ to create PBS Object Node.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva155
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Within the Current Element Editor , fill in the attribute details of the created PBSOBN as shown:
The ‘PBS text’ entry is specified by an expression which first checks if derived groups have a ‘ NAME’, before combining the identified name with the reporter text and type sequence of the resulting object separated by a space. This way the display texts (node name) of the derived objects are generated. The selection of a ‘PBS formula type’ entry determines the kind of formula or method which is used to derive expression sion ’ entry from the pick list. the objects to be listed in the explorer (resulting nodes). Select the ‘ PML expres The ‘PBS formula’ entry is a text attribute whose entered values is dependent on the formula type selected. Type in: ‘Collect all scgrou ’. This will fetch all available Schematic group objects available in schematic databases databases within the current MDB. ‘PBS Sorting’ entry is set to ‘ Same as on Parent ’. Resulting nodes will be ordered using the same selection that was selected for the owning PBSOBN element ( Natural Unless Type forces sequence ) From the created PBS object, the resulting explorer hierarchy will be displayed within the AVEVA Diagrams application as shown:
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva156
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
12.2.4 12.2. 4 Crea Creating ting a PBS Object (PBSOBN (PBSOBN)) – A Worke Worked d Exam Example ple Select the created PBS Object, display the context menu and click ‘ Create ’ > ‘ PBSTXN: PBS Text Node’ to create PBS Text Node.
Within the Current Element Editor , fill in the attribute details of the created PBSTXN as shown.
‘PBS formula type’ entry is set to ‘ PML function’ as this specifies that the following PBS formula entry will be a global variable (and an argument) which points to a pml function within the current pml library. Enter: ‘!!getNonEmptySchematicClasses()’ This node will collect schematic classes for each of the schematic groups
The pml functions should should be available by default within within the AVEVA Diagrams 14.1 product installation or will be made available along with the copy of the supplied Training project utilised installation utilised for this training The PBS formula could also be entered using the ‘ Flexible Explorer formula editor ’ form
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva157
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
The entered formula reads and deploys the methods contained within the referenced PML function. This particular function is designed to generate nodes which will specifically hold objects of schematic object types/Classes. This will create folders in the explorer hierarchy which will be named after the schematic element type of the objects they will contain. This means that when a schematic object is created, it will be grouped by its schematic element type folder. The FlexibleExplorer FlexibleExplorer formula editor can also be utilised to enter the pml expressions expressions or function function necessary for to derive/generate the required object nodes. Parameters can be selected as function arguments for an entered pml function. This could be required in order for the function to be deployed for the subjects of the argument. Place the cursor inside the parenthesis ( | ) and then click the ‘ Insert parameter ’ link label, then select the entry as shown:
This essentially means that schematic classes could be derived for each existing group (derived earlier from within the ‘Schematic Groups’ PBSOBN).
The selected parameter is PBSOBN which was created earlier
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva158
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Select the created PBS Text node (SchematicClassesForGroup ), and ‘Create’ > ‘ PBSOBN: PBS Object Node’ to create a PBS Object Node. This PBS object node (PBSOBN) will derive and generate schematic database objects, and locate them within their appropriate schematic classes. Within the Current Element Editor , fill in the attribute details of the created PBSOBN as shown.
The PBS text entry derives the name/title name/title of the objects with the entered expression expression as explained explained previously:
expression ’. For the PBS formula entry, use the FlexibleExplorer ‘PBS formula type’ entry is set to ‘ PML expression formula editor form as described previously:
The formula indicates that the objects to be generated will be an item(s) whose element type/class has been derived from the parameter (SchematicClassesForGroups ) which was previously created, and these will be for all collected schematic groups within the node ( SchematicGroups ). ‘PBS context menu ’ ensures that the resulting objects will be able to display a context menu when they are selected and right clicked. The contents/entries of the context menu are obtained from a default xml file which are located in the installation directory of the AVEVA Administration product. This should be set as AVEVA.Diagrams.FlexExplorer. Menu.Context.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva159
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Run a ‘Savework’ within the LEXICON module, and then a ‘Getwork’ action within the AVEVA Diagrams application, to display the resulting schematic project explorer as shown:
The referenced pml functions were configured to first collect and list available schematic groups, then schematic element types/classes were configured to be located within the groups
Derived schematic objects were located within their appropriate schematic element types/classes, within their relevant schematic groups
The behaviour and contents of the object context menu is derived from the PBS context menu entry expression. This expression references the ‘ TagAddins.xml ’ an xml file located within the installation location of the AVEVA Diagrams product and which contains instructions on the menu entries and behaviour, hence allowing the context menu to be visible when displayed from the derived object as shown.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva160
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
12.2.5 Configure nodes for Element Members – A Worked Example Further PBS Text nodes and Object nodes can be configured to cater for member elements of items which can be seen as parent object. For example, the Flexible explorer can be configured to display available nozzles beneath equipment items. Select the last created PBS Object ( SchematicItems), display the context menu and click ‘Create’ > ‘PBSOBN: PBS Object Node’ to create a PBS Object Node. Within the Current Element Editor , fill in the attribute details of the created PBSOBN as shown.
For the name of the node, enter: PrimaryVisibleMembers. The PBS text entry which derives the name/title of the member will be an expression which is similar to that described previously: ‘PBS formula type’ entry is set to ‘ PML function’. For the PBS formula entry, use the FlexibleExplorer formula editor form as described previously, and enter the global variable which references the pml function which derives any member elements for derived explorer object items: !! getPrimaryVisibleMembers() An argument ( /Schematicitems) will need to be referenced to define the scope of the derivation action. This is achiever just as described previously.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva161
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
The creation of this node will now make it possible for the valid member elements of the derived objects to also be derived and appropriately located beneath their owning schematic object as shown.
Do note that the derivation of the member elements is limited to a certain membership hierarchy level. This means that only members items of certain objects will be listed, and not the members of members . Observe that the members of the pipe segments are not derived .
Create 2 new PBS object nodes to derive the member of member objects, and this will also be setup to derive further member objects if they exist and are applicable for the owning member items. This is as shown:
For the names of the nodes, enter: PrimaryVisibleMembers2 and PrimaryVisibleMembers2 The PBS text entry: ‘PBS formula type’ entry is set to ‘ From owners attribute ’. For the PBS formula entry, use the FlexibleExplorer formula editor : memb ‘PBS context menu ’: AVEVA.Diagrams.FlexExplorer.Menu.Context
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva162
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
PBS recurrent node: PrimaryMembers1. The recurrent node ensures that the evaluation for member items will be a recurrent action within the selected node.
Run a ‘Savework’ within the LEXICON module, and then a ‘Getwork’ action within the AVEVA Diagrams application, to display the resulting schematic project explorer as shown:
12.2.6 Configure nodes for Secondary Classes – A Worked Example Having configured nodes to derive and display member items for schematic objects, it is also possible to configure a set of schematic classes beneath derived schematic diagram objects (SCDIAG). This will essentially allow the user to navigate across a secondary hierarchy of schematic objects. This is intended to quickly collect, group and display the schematic objects which are located in a selected drawing.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva163
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Navigate to the PBSOBN SchematicItems node, and create a PBSTXN node beneath and detail this as shown:
For the name of the node, enter: SecondaryClasses ‘PBS formula type’ entry is set to ‘ PMLfunction’. For the PBS formula entry, enter !!getSchematicClassesForSecondary(#PARAM(/SchematicItems) )
Run a ‘ Savework ’ in the LEXICON module and ‘ Getwork ’ in the Diagrams application to display the schematic classes beneath a diagram object in the project explorer
Navigate to the PBSTXN SecondaryClasses node and create a new node which will derive available objects for each of the classes beneath the SCDIAG object, as shown:
For the name of the node, enter: SecondaryMembers ‘PBS Text’ entry is set to ‘ FLNN’. ‘PBS formula type’ entry is set to ‘ PMLfunction’.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva164
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 For the PBS formula entry, enter: !!getSecondaryMembers(#PARAM(/SchematicItems) )
Next create nodes which will derive member items for the derived objects (example, nozzles for equipment). These nodes are created just as was done previously:
For the names of the nodes, enter: PrimaryMembers3 and PrimaryVisibleMembers4 The PBS text entry: ‘PBS formula type’ entry is set to ‘ From owners attribute ’. For the PBS formula entry, use the FlexibleExplorer formula editor : memb
‘PBS context menu ’: AVEVA.Diagrams.FlexExplorer.Menu.Context
PBS recurrent node: PrimaryMembers3. The recurrent node ensures that the evaluation for member items will be a recurrent action within the selected node.
Run a ‘ Savework ’ in the LEXICON module and ‘ Getwork ’ in the Diagrams application to display the secondary schematic classes, their objects and member items beneath a diagram object in the project explorer
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva165
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
12.2.7 Creating a PBS Criteria Node (PBSCRT) – A Worked Example The PBS criteria element ensures that the derived objects within the node where it is created correctly fits to its parent hierarchy. This means that when items are created, the criteria element will help determine and correctly enforce the placement of these items within the appropriate node. Select the previously created PBS Object PrimaryMembers3 , display the context menu and click ‘ Create ’ > ‘PBSCRT: PBS Criteria’ to create a PBS Criteria. Within the Current Element Editor , fill in the attribute details of the created PBSCRT as shown.
The PBS criteria must be created beneath the item for which the location checks will have to be made. Hence in the example shown, the PBSCRT was created beneath the PBSOBN which generates the schematic items.
PBS query node allows for the selection of the appropriate node in which the location checks will be made. So in the case shown, the PBS query node was selected as the top level PBS element, the PBS-Template (Schematics Classes) created earlier. This means that items created will be checked to ensure their correct storage within the PBS-TEMPLATE node only. Hence this selection is made from the pick list as shown.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva166
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
12.3 Configure Project Explorer (Unassigned items) Having configured the standard Schematic project explorer as detailed previously, it is possible to configure additional behaviours into the standard explorer. Within the AVEVA Diagrams application, unassigned items are 2D/schematic objects which do not exist on the drawing canvas, but are database elements and exist on the explorer. They are categorised with a ‘U’ symbol on their object icons.
There could be several design/engineering reasons for having unassigned schematic objects located within the explorer, but it could be configured to be presented in an organised and tidy manner, so as the appropriate items are located within dedicated node for unassigned items. The configuration for handling unassigned items could be achieved in several ways, but this guide will focus on one method.
For the following excercises, additional pml function files are required. These will be part of your installation, or will be supplied by trainer.
12.3.1 Creating an Unassigned node – A Worked Example Select the PBS object node ( SchematicGroups ), display the context menu and click ‘ Create’ > ‘ PBSTXN: PBS Text Node’ to create a PBS Text Node. Within the Current Element Editor , fill in the attribute details of the created PBSTXN as shown.
For the name of the node, enter: UnassignedItemsNode ‘PBS formula type’ entry is set to ‘ PMLfunction’. For the PBS formula entry, enter: !!getUnassignedItemsNode() The referenced pml function must exist in the pmllib.
This will create an ‘Unassigned items ’ folder beneath all derived schematic groups.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva167
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Select the created PBS text node (UnassignedItemsNode ), display the context menu and click ‘ Create’ > ‘PBSTXN: PBS Text Node’ to create a PBS Text Node. Within the Current Element Editor , fill in the attribute details of the created PBSTXN as shown.
For the name of the node, enter: UnassignedSchematicClassesForGroup ‘PBS formula type’ entry is set to ‘ PMLfunction’. For the PBS formula entry, enter: !!getnonEmptySchematicClasses(‘#PARAM(/SchematicGroups)’) This will derive and create schematic class locations for the element types of identified unassigned objects, beneath all derived schematic groups. Select the created PBS text node (UnassignedSchematicClassesForGroup ), display the context menu and click ‘Create ’ > ‘ PBSOBN: PBS Object Node’ to create a PBS Object Node. Within the Current Element Editor , fill in the attribute details of the created PBSOBN as shown.
For the names of the node, enter: UnassignedSchematicItems The PBS text entry: ‘PBS formula type’ entry is set to ‘ PML expression ’. For the PBS formula entry, use the FlexibleExplorer formula editor : enter the following: collect members of #PARAM(/SchematicGroups) where type eq '#PARAM(/UnassignedSchematicClassesForGroup)' and unset(SCBREF) ‘PBS context menu ’: AVEVA.Diagrams.FlexExplorer.Menu.Context
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva168
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 Unassigned items do not exist on a drawing canvas, so do not carry a set ‘ SCBREF’ attribute. This attribute references a ‘SCIND’ object. So this formula will look to evaluate objects within the arguments and return the items which have unset SCBREF attributes. It should be noted that if this configuration is run in this form, there might be some errors experienced within the project explorer. This is because Schematic Pipelines, Schematic Diagrams, Templates and Stencils do not carry an SCBREF attribute, so this will be ‘unset’ for these objects. This means that the system will encounter a conflict when trying to deploy the rules. This is handled by creating another schematic class explorer structure which references a pml function in order to evaluate these elements specifically, and also some negating expressions entered within the original schematic class structure.
Copy the node PBSTXN SchematicClassedForGroup (this will copy all of its children elements). Paste this beneath the PBSOBN SchematicGroups element as shown.
After pasting this node, including the text (NoSCIND) to all their names, as shown:
rename all the elements by
The PBS Formula for the ‘Schematics ClassesForGroupNoSCIND’ element, must be changed to reference a specific pml function (which must already exist in the pmllib) PBS Formula: !!getNonEmptySchematicClassesNoSCIND( '#PARAM(/SchematicGroups)' )
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva169
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Parameters and referenced entries will dynamically align themselves. For example, the Primary members2 node will have it’s recurrent node set to the correct one:
Finally, within the PBSOBN SchematicItems node, include this extra text to its PBS formula expression: and not(unset(SCBREF))
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva170
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Run a ‘ Savework ’ in the LEXICON module and ‘ Getwork ’ in the Diagrams application to display the all node objects along with their member items in the project explorer
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva171
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
This page is intentionally left blank.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva172
APPENDIX A
13 Appendix A - Optimising Project Performance and Storage Space 13.1 Recommendations to Improve Performance of Save Work
Avoid having many pages in the same diagram. It is better to create separate diagram files. At the moment, all the pages in the diagram are being processed and saved as SVG files during SaveWork, this is the case even if the user has just modified one of the pages. Avoid using heavy bitmaps or too detailed vector graphics in title block and backgrounds. You can experiment by removing some of these and measure the SaveWork performance to determine if you have an issue with this. There is a setting to control whether SVG files should always be created, or only when the drawing contains anything released to 3D. If this setting is used, it is possible to get better performance when initially working with the drawing. After it has been released to 3D, there will then be a performance degradation as the SVG files starts getting created. Please note that once SVG files starts generating, you cannot turn it off again, so this setting has to be applied from the start of a new diagram drawing. During Save Work, there is intense file storage activity with Visio and SVG files. For this reason it is recommended that the IT infrastructure such as network and file server disk performance where the files reside (xxxDIA) is optimized.
13.2 Refresh Performance The performance of the Refresh command is dependent on how many shapes are being refreshed and how many attributes belong to each of these shapes in the Custom Properties. It is easy to get large numbers here, i.e., if there are 100 shapes in a drawing where each has 50 attributes belonging to it, this will produce 5000 attribute values to be read from Dabacon and updated in the shapes' Custom Properties.
Only use the Refresh command when necessary, i.e. when it is suspected something has been updated in the DB and the user needs to see it reflected in the drawing. If some shapes are selected in a drawing when doing the refresh, only those shapes will be affected. It is often unnecessary to refresh the whole drawing if only one part is being worked on. Reduce the number of attributes per shape to be shown in Custom Properties down to a set of attributes that are really being used by the AVEVA Diagrams user. It is possible to control which attributes should appear in the Custom Properties through the Attribute Presentation function. If for instance half of the attributes shown in the Custom Properties are never used, then removing them will halve the time used for refreshing the whole drawing. Check the usage of the UDA’s regularly and remove unused ones from the project.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
173
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
13.3 Project Storage with Respect to Visio and SVG Files
As mentioned above, it is possible to disable the SVG creation until it is really needed (when the diagram has been released to 3D). There is a setting to control whether to use binary Visio files or XML format Visio files. XML format requires much more storage space, thus make sure to use the binary format. There is a 'Keep session files' setting that will determine whether the old versions of the Visio and SVG files will be kept during each Save Work or not. With this setting the user can switch between 'more data management capability & more storage space required' or 'less data management capability & less storage space required' as is described below. If this setting set to True there is a possibility to backtrack the Dabacon session and access the specific Visio/SVG file versions related to that particular session. The drawback is that it may take a significant amount of storage space to save the related files for all sessions. If this setting set to False only latest versions of the Visio/SVG files will be kept. This means that backtracking a Dabacon session will not give access to the corresponding Visio/SVG files. However, storage space requirements will be less demanding. Alternatively, if 'Keep session files' setting is set to True, and sessions are to be merged, then select Tools > Utilities > Project Maintenance > Clean Old Session Files to remove the corresponding Visio/SVG files. This can be an approach where there is a possibility to backtrack changes during a period. Merge and clean the sessions and continue from there.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva174
APPENDIXCB APPENDIX
14 Appendix B - Annotation and PML1 Expressions 14.1 Attribute Presentation Notation Through the Attribute Presentation format notation, attribute information can be collected from the DB element that corresponds to the shape as well as from hierarchically superior elements and referenced elements. It can also be combined with literals in an arbitrary way. The native notation uses square brackets [ ] for attribute references that should be evaluated before presentation. All characters outside the brackets are considered as literals and will be presented as-is. Referenced attributes can be referred by a dot notation (reference.attribute). References can be in several steps, in that case the reference chain will be followed to resolve the expression and find the attribute value. An arbitrary number of literals and attribute references can be combined to form advanced attribute presentation and annotation strings. Using [scplin.bore] native syntax will fetch the default bore attribute from the pipeline element that owns the current hierarchically subordinate element, for a valve [owner.owner.owner.bore] will provide the same result as previous. The owner of a valve is the SCSEG element, the owner.owner is the SCBRAN element, and the owner.owner.owner is the SCPLIN element. [name]-[spref.name] will display the name of the current element, a literal (in this case a "-"), and the name of the related catalogue element.
14.2 PML1 Expressions PML1 expressions should be enabled by setting Parse for PML1 expressions in annotations to True from Annotations settings in Diagrams Options, and always be enclosed with curly brackets { }. The usage of native square bracketed attribute references within PML1 expressions is also supported. In such case the square bracketed attribute references are resolved first, and then the PML1 expression is parsed.
The dot notation can be replaced by the ‘of’ word in PML1, i.e. instead of {AFTER([owner.name],’/’) it could be used {AFTER([name of owner],’/’) The attribute presentation notation can be applied to the following: Attribute Presentation Setup (In Diagrams Options and in Import Shape Wizard) Shape Text attribute Label annotation fields Using the PML1 expression {STR(abor)} provides the arrival bore value, {SUBST(name,2)} uses the substring function to provide the part of the name of the element starting at the second character which will give the name from second character.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
175
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 It is possible to achieve the same result using either the native notation or the PML1 expressions where applicable; i.e. RED[\n]{STR(para1)} x {STR(para2)} will display the equivalent to RED[\n][spre.catr.para(1)] x [spre.catr.para(2)]
The notation can also be a result of a PML1 expression. For more information about PML1 functions please see Software Customisation Reference Manual, PML1 Expressions
To get a particular element from an attribute of array type, use a (number) notation. i.e., owner.diaref(1). The enumeration of elements is 1-based. The (0) string will give all elements of the array. To reference an array element in PML1 expressions, use the attribute name followed directly by a number, i.e. ppbo2
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva176
APPENDIXCC APPENDIX
15 Appendix C – Diagrams Customisation Diagrams application has public interface to help all developers that would like to write custom add-ins. The Aveva.Diagrams.Interface.dll contains tools that might be helpful during this process. Customisation using other dll files is not recommended as these files are subject to change. The detailed documentation for AVEVA Diagrams Interface library can be found in AVEVA Diagrams API documentation.
15.1 Shape Context Menu (Shape Sheet Action Section) It is possible to add custom context menu options and call an Execute() method from any registered command class or call a PML function. To achieve this, the master shape that is representing item has to be edited in Visio. In the shape’s shape sheet, the Action section has to be updated about custom row(s) as shown. As a result, all shapes that are based on this master will have additional context menu.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
177
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 This mechanism is based on QUEUEMARKEREVENT Visio function. It requires parameters that will be parsed when QueueMarkerEvent will be handled by AVEVA Diagrams application. According to the given parameters, PML function or Command.Execute() will be called.
15.1.1 PML Function If the administrator wants to call a simple PML function that as shown below,
define function !!DiagramsPrint() $P Hello world! endfunction The only action needed is to write a formula in the Action cell. In this case, it will look like below:
=QUEUEMARKEREVENT("/module=Diagrams /type=shapecontext /code=PMLFUNC /name=DiagramsPrint")
In some cases it might be useful to pass reference number of the database element that the shape is representing If the administrator wants to call a PML function that as shown below,
define function !!DiagramsPrintParam(!DbRefNum is string) !a = object DBREF(!DbRefNum) handle any endhandle if (UNDEFINED(!a) or UNSET(!a) or BADREF(!a)) then $P element not found return endif !n = !a.name $P The clicked item is $!n endfunction In this case a parameter needs to be passed to the PML function. This can be achieved by adding /param=refnum to the formula. The updated formula should look like this:
=QUEUEMARKEREVENT("/module=Diagrams /type=shapecontext /code=PMLFUNC /name=DiagramsPrintParam /param=refnum")
15.1.2 Command Execute It is also possible to call Execute() methods from classes based on a command. If the administrator has a class defined like below, class DiagramsAPICommand : Command { internal DiagramsAPICommand() { this.Key = "TEST_DIAGRAM_API_CMD"; } public void Execute(Shape shape) { MessageBox.Show(string.Format("The shape: {0} was clicked!", shape.Name)); } public override void Execute()
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva178
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 { MessageBox.Show("Execute!"); } }
There are two Execute() methods: Execute() Execute(Shape shape) It is possible to set up a formula in the Action cell to call both versions. If Execute without parameter is to be called then the formula should look like below:
=QUEUEMARKEREVENT("/module=Diagrams /type=shapecontext /code=COMMAND /Key=TEST_DIAGRAM_API_CMD") If Execute with parameter is to be called, param=shape needs to be added to the formula. Updated formula should look like below:
=QUEUEMARKEREVENT("/module=Diagrams /type=shapecontext /code=COMMAND /Key=TEST_DIAGRAM_API_CMD /param=shape")
The Command has to be registered in Aveva.ApplicationFramework.Presentation.CommandManager
The parameters used in QUEUEMARKEREVENT are shown below:
Parameter Name module type code name key param
Allowed Values Diagrams shapecontext PMLFUNC COMMAND [PML function name] [Command Key] refnum
shape
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
Comments Application name Says that it is shape context menu. The PML function will be called The Command Execute will be called Used with PMLFUNC only Used with COMMAND only Database reference number as string of item that is Represented by Visio Shape. This parameter can be used only when PMLFUNC Visio Shape will be passed as parameter.
www.aveva179
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
This page is intentionally left blank.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva180
APPENDIX APPENDIXGD
16 Appendix D – Schematic Model Viewer Icon Configuration 16.1 Icons The icons used by Schematic Model Viewer to represent the equipment, generic branch points and inline fittings are determined by a set of user configurable rules. These rules are stored in an XML file, called SchematicSymbols.xml which resides in the main installation directory.
Below is an example of the .xml file. By changing the file, it is possible to apply different rules for the selection of icons. The administrator can view and modify this file in a text or XML editor.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
181
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The icon files are by default stored in the %PMLLIB%\icons\schematicmodelviewer\ directory. New icons can be added to this location and it is also possible to modify or replace the existing ones if so desired.
It is possible to determine which symbol should be used when creating a model view and also to set the displayed text beneath the item using the Options form. Attributes can be used by entering the attribute name in brackets, e.g. [Type]. To use a shape from a stencil instead of the icons the Use Icon setting needs to be set to False and the settings Set Stencil Name and Stencil Shape should be valid names. However, if the system is unable find a shape or a stencil the icon will be automatically used instead. If an icon, a shape or a stencil is not found the default rule will be used when a model view is generated.
Stencils and icons have to be located in the %PMLLIB%\icons\schematicmodelviewer\ directory. The location can be changed using the Path setting in Default section
An already drawn item cannot be replaced using the Options form
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva182
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 To save the changes permanently to the Options form the administrator needs to click Save to defaults button. This will save the changes to the SchematicModelMapModuleUserSettings.xml file in %PDMSDFLTS% folder.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva183
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
This page is intentionally left blank.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva184
APPENDIX APPENDIXGE
17 Appendix E – Project Upgrade 17.1 Upgrade Drawing The Drawing command in the Upgrade section of Admin tab will upgrade all Tribon M3 or any previous AVEVA Diagrams shapes on the current drawing to the current version of AVEVA Diagrams shapes. NonTribon M3 shapes will be ignored. Upgraded shapes will not automatically be defined in the database. This will have to be done manually afterwards using the Define function.
The user can upgrade the drawing automatically using the Diagrams Options > General Options > System Configuration > Component Verification > Upgrade drawing on Open setting
17.2 Upgrade Database The Database command in the Upgrade section of Admin tab will copy values from CREF to SCIREF attribute for earlier version(s) of offline instruments. The administrator will need to save work afterwards.
17.3 Upgrade Diagrams Options Diagrams Options are configured by an xml file that contains both the definitions and the actual values of all options. For various reasons, the administrator may have more than one version of this file. If a definition of the option exists in both the old options file and the current one a copy of the old value is inserted to the new options file. If a value for a (new) definition of option is not found in the old options file the default value of that option is assumed.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
185
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
If a value of option is found in the old options file that is not available in the current options definition then the option is ignored and a warning is given in the Message Log. If any problem is detected during upgrade, the user will be prompted.
During the initialisation of the application AVEVA Diagrams invokes a merge of options from the admin storage area of the project and the user store if applicable. The merge will be made in a way that all options that are marked in the admin store as read-only will be disabled for change, and the values for these options will overwrite whatever the values in the user store area.
Read-only and read-write attributes will be determined in this xml file by the keywords ( “ro”) and (“rw”) respectively placed in the xml file for each option required.
The user storage area is the location corresponding to %PDMSDFLTS%\Diagrams\, while the admin storage area is %DFLTS%\Diagrams\
The Attribute Presentation settings are stored in DiagramsAttributePresentations.xml file in the defaults folder which is referred as %DFLTS%/Diagrams or %PDMSDFLTS%/Diagrams
Provided that the admin storage area is only controlled by the administrator access to the options (read-only or read-write) is decided by an administrator. The user can only affect the option value if allowed to do so. The rest of the option data i.e. position in the options file, name, description, type, default value is not editable.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva186
APPENDIX APPENDIXGF
18 Appendix F – Batch Update This functionality allows administrators to update many drawings in one go without opening them where the user may request to update the drawings according the master shape changes, defaults, catalogue defaults and/or Diagrams Options. The option is available from the Batch Job command in Tools tab.
Select the diagram to be updated and using the Add button, ensure the diagram is displayed in the Selection list. Then click Update Diagrams button. Make sure the selected diagram is closed before proceeding, otherwise a warning will be displayed and it won’t be possible to update an open diagram.
The Update Diagram Options form will be displayed. The form contains options with which the user can select which actions to be carried out, e.g. type of data to be updated, category of updates to be undertaken.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
187
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Update symbols according to master shapes
This option will replace shape symbols if the shape master that is located in document master, has any difference than master selected by user.
Update symbols according to catalogue information This option replaces symbol shape according to data in specification. Symbol from SPREF will replace existing one. SPREF attribute must point to element that has valid SYMGROU and SYMNAME attribute values. Update annotation formats
This option allows the user to update auto labels and presentation text according to Diagrams Options or master settings. If master was selected then labels and text rule is taken from master instance. In case when master is not selected then system will check if shape that should be updated took its setting from master or default. If settings were taken from master and master is not selected then some shape settings will not be updated. If settings were taken from Diagrams Options then system will update them.
Update attribute presentation settings
This option allows the user to update Shape Data order, presentation texts, visibility etc. according to Diagrams Options or master settings. This option’s behaviour can be controlled globally for each type separately b y checking Allow individual shapes to override default settings in Diagrams Options for the data from selected master will be used. Otherwise the shapes will be updated according to Diagrams Options. When master was not selected, system checks if the shapes that should be updated took their settings from the master or Diagrams Options. If the settings were taken from the master and the master is not selected then the shapes will not be updated. If settings were taken from Diagrams Options then system will update the shapes. During update all Shape Data that exist in shape instance but does not exist in current settings will be removed.
If an attribute is removed using Batch Update, the system will not remove it but will give a warning if other attributes are using this data, i.e. where Instrument type is used as shown, it will not be possible to update the shape not to show this attribute in Shape Data.
Ignore stencil settings
Refresh shapes
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
This option allows the user to update the shapes according to Diagrams Options and not the master settings. This option calls a refresh on each shape.
www.aveva188
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
Ignore stencil settings option will not work for autolabels’ layer. The layer for autolabel is taken from master that is used to create autolabel
Shapes that do not have settings in Diagrams Options will require master to be selected, i.e. Title blocks and Multi labels
Batch Update cannot be used to set any default values to shape data Once the desired settings are checked on the Update Diagrams Options, it is possible to select the masters for the update to be applied to. Click on the Browse button which is next to Select master shapes to use for update (0 selected). This message will be updated with the number of the master shapes after the selection is accepted. The Select Masters to update form will be displayed where the user can add a stencil and pick some or all masters from it to be updated in the drawing(s) previously selected.
Click the Add Stencil button and selecting the required stencil click Open button.
Select the shape from the stencil and using the right click context menu or by dragging and dropping add the shape to the Masters to update area. If desired Add all checkbox can be used. Masters also can be removed from the Masters to update list using a right click context menu. Click the OK button and the Update Diagrams Options form should now show the number of the masters to be updated.
It is possible to use the Load log button on the Update Diagrams Options form to open a saved log file using Save Report button on Update Diagrams Status form
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva189
AVEVA Diagrams (14.1) Diagrams Administration TM-3534 The Update Diagrams Status is now displayed and the user can click on the links shown in the related columns to view the informational messages, warnings or errors.
Click OK button on the Update Diagrams Status form, then dismiss the Batch Job form and open the updated diagram.
If the user deleted an auto label from a shape, it may not be added after the update as system remembers the deletion. To add the auto label, use Ignore stencil settings checkbox or select the appropriate master
Clicking Cancel on the Update Diagrams Status form will revert all changes done by Batch Update process
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva190
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
The updated changes should now be reflected by the shapes on the diagram from the selected masters. If the diagram is not refreshed automatically upon opening due to Diagrams Options, manual refresh may be required. The user needs execute a Savework command for the changes to be permanent.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva191
AVEVA Diagrams (14.1) Diagrams Administration TM-3534
This page is intentionally left blank.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva192
APPENDIX G
19 Appendix G – Copy Data Between Database It is possible to use the RECONFIGURE command to copy schematic data between databases and also to copy databases between projects. Below is an example of procedure for copying data from SAMPLE/CABLDIA database in SAM or SCHEMATIC/DIAGRAMS database in MAR project to SCHEMATIC/DIAGRAMS database located in a newly created TPS project. Log in to Admin module using SAM or MAR project and type following commands in the command line. FROM DB SAMPLE/CABLDIA TO FILES /TMPF1 /TMPF2 RCFCOPY ALL RECONFIGURE Switch to Admin module using TPS project. Make sure that the target TEST database exists in TPS project (if not create it). It is not necessary that the source and target databases have the same number. Type the following instructions in command line: FROM FILES /TMPF1 /TMPF2 TO DB SCHEMATIC/DIAGRAMS RECONFIGURE All data have been copied now together with associated files (for diagrams, templates and stencils) and no other action is required before they can be used
For more information on the RECONFIGURE command please see Administrator Command Reference Manual
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
193
AVEVA Marine (12 Series) Diagrams Administration TM-2213
19.1 Include or Copy Foreign Database The administrator may wish to re-use data from another project, i.e. templates and stencils. To be able to make this data available to the current project the database can be included or copied from a project. When a database is included, the data will be shared between the two projects and any change made to this database will be available to the current project users. When a database is copied, a copy of this database will be created in the current project using the latest saved data from the target database.
The administrator will need to create any teams required by this process.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva194
AVEVA Marine (12 Series) Diagrams Administration TM-2213
19.2 Document Files and Sessions All Microsoft Visio documents such as diagrams, stencils and templates are handled through index elements in the database. When a diagram is created, an SCDIAG element is created in the database, and this contains a pseudo attribute called VISF that provides the file name of the actual file in the file system. File names are composed by . This mechanism and naming convention supports the Dabacon session concept and provides a mechanism for Global to manage the files in a multi-location project. These file names are not visible to the user. The user will handle all diagrams through the index elements in the database and will only see the names of the index elements. This mechanism creates new files each time a SaveWork is executed. This means that when users have been working for a certain amount of time, a large quantity of files may exist in the %DIA% directory, in the same way that a Dabacon database grows as sessions are being added. There is currently no mechanism to automatically delete obsolete versions of the files when a database session m erge is executed. At the same time as a diagram file is saved, an SVG format file is also created. This is for the purpose of viewing the diagrams in other applications such as the AVEVA Schematic 3D Integrator without having the need for a Microsoft Visio installation. In the same way as querying the VISF attribute on the SCDIAG element for obtaining the Microsoft Visio diagram file name, the SVG file name can be found by querying the NVIEWF attribute. Changing the Create SVG on Save Work setting to Always in Diagrams Options, will result in creation a new SVG file every time a save work processed. When it is set to False a new SVG file would only be created if any element is released to 3D. Changing the KEEP_SESSION_FILES default setting to False in Diagram Options, will result in only the latest version of the Visio diagram file to be kept. If this setting is used it will not be possible to restore a previous session including the corresponding diagram file version. Microsoft Visio templates and stencils are handled in the same way as the diagrams, using SCTEMP and SCSTEN index elements in the database. With the exception that no SVG format files are created when templates and stencils are saved by the application.
19.3 Cleaning Old Session Files The AVEVA Diagrams application provides a tool for removing old document session files from a project. It can be used when the Keep session files setting (KEEP_SESSION_FILES) in Diagrams Options is set to False Select Project Maintenance > Clean Old Session Files from the Admin tab, the dialogue window is opened and provides the possibility to select the document types to clean.
Select the document type(s) to clean. After clicking OK button the following confirmation dialogue is displayed.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva195
AVEVA Marine (12 Series) Diagrams Administration TM-2213
After clicking the Yes button all old session files connected with DB elements (of selected types) existing in the current MDB are removed. Files that are not connected with any SCDIAG, SCTEMP or SCSTEN from the current MDB are not considered to avoid accidental deleting of important files.
Cleaning old session files allows saving disc space in the case that there is no need to keep previous documents versions, but after performing the operation it will not be possible to restore earlier sessions including the corresponding diagram file versions
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva196
APPENDIX H
20 Appendix H - Diagrams Options In the Diagrams Options dialogue, there are multiple settings that control the operation of the AVEVA Diagrams application. This Appendix provides a general overview of the Diagrams Options, since these options are used and explained in various paragraphs of the AVEVA Diagrams 14.1 training guides and configured in the training project that is delivered with the training guides.
For more information about the Diagrams Options please refer to the Help File of AVEVA Diagrams 14.1, in particular at paragraph ‘Application Settings > Diagrams Options’. From the Project tab select Options > Diagrams Options, the Diagrams Options form appears.
There are two general tabs in the Diagrams Options which are the Defaults and Attribute Presentation.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
197
AVEVA Marine (12 Series) Diagrams Administration TM-2213
The Defaults tab has several settings that will control the operation of the application. Below on the form there is an information area which provides an explanation for each setting as they are selected.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva198
AVEVA Marine (12 Series) Diagrams Administration TM-2213 The Attribute Presentation tab is used to show and set rules in the Shape Data Window/Item List. i.e., setting up the presentation order of attributes and attribute presentation labels.
The user can set up the attribute presentation to be used in the Shape Data window as well as in the Item List. On the left hand side of the form there is a tree-view containing the different element types relevant to the AVEVA Diagrams application. If any UDETs have been defined, these will also be included in the list. For each element type selected in the tree view, the attribute presentation can be individually controlled by the settings in the right hand list view. The columns in the table are as follows:
Attribute
Name of the attribute. This cannot be modified.
Label
Presentation label for the attribute. This controls the name to be presented to the user in the Shape Data window only. This setting does not apply to the Item List as it shows mixed items in the same list.
Prompt
If a Prompt string is entered, the application will prompt the user for a value as the shape is dropped on the drawing. The Prompt string will be presented to the user at that time, i.e. 'Please enter Name'.
Visible
If this checkbox is checked, then the attribute will be included in the list of attributes shown in the Shape Data window.
Visible in Item List
If this checkbox is checked, then the attribute will be included in the list of attributes shown in the Item List.
Read Only
If this checkbox is checked, it will not be possible to update the attribute value from the Shape Data window or from the Item List.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva199
AVEVA Marine (12 Series) Diagrams Administration TM-2213
Copy with Shape
If this checkbox is checked, the attribute value will be copied when shapes are copied in or between drawings. Please note that the shape must be defined for the Copy with Shape setting to apply.
By clicking the Move Up and Move Down buttons, the presentation order of the currently selected attribute can be changed.
In the Import Shape Wizard there is a possibility to override the default attribute presentation settings for individual shapes. In case this possibility should be enabled, the Allow individual shape settings to override default settings should be checked. This setting can be applied individually for each element type in the tree before clicking the checkbox. If this is not checked, any attribute presentation settings done in the Import Shape Wizard for individual shapes will be ignored. Additional attributes can be added by pressing the Referenced attributes button, the Add/Remove referenced attributes form is displayed for the element that was selected in the Attribute Presentation tab.
The user can now select referenced attributes to add by navigating in the tree and then clicking the Add button, once all the required referenced attributes are added then click the OK button. If the Visible in Item List checkbox is checked it can then be seeing the Shape Data Window and Item List.
Referenced attributes can also be added by clicking in the next free line in the Selected attribute list and then by keying in the name of the referenced attribute using the dot notation i.e. [diaref(1).name]
Pseudo attributes are not shown in the list of attributes in the Attribute Presentation and Referenced attributes dialogue. To show these they will have to be manually keyed-in
Referenced attributes will not be shown in Visio Reports unless they are added to the Shape Data
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva200
AVEVA Marine (12 Series) Diagrams Administration TM-2213 On the other hand the Defaults tab includes for example: 1.
System Configuration:
The System Configuration section includes several options, for instance for Autorenaming, Colouring options, Intelligent copy options and Unassigned items.
The user can modify the settings here, for example to determine how the Highlight function will behave when the Refresh command is used. This includes which attributes are to be ignored, what type of message should be given and whether the highlight should occur after a refresh is initiated automatically or not.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva201