Project Drawing Administration
TM-1302
TRAINING GUIDE
AVEVA Plant (12.1)
www.aveva.com
AVEVA Plant (12.1) Project Drawing Administration TM-1302
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
2
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Revision Log Date
Revision
Description of Revision
Author
Reviewed
13/03/2012
0.1
Issued for Review PDMS 12.1.SP2
SB/BT
25/03/2012
0.2
Reviewed
SB/BT
KB/SS
02/04/2012
1.0
Approved for Training PDMS 12.1.SP2
SB/BT
KB/SS
Approved
NG
Updates All headings containing updated or new material will be highlighted. Note:
Highlighting will not be employed at Revision 1.0 due to significant alterations to training material warranted by release of PDMS 12.1.
Suggestion / Problems If you have a suggestion about this manual or the system to which it refers, please report it to AVEVA Training & Product Support (TPS) 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. Visit our website at http://www.aveva.com
Disclaimer 1.1
AVEVA does not warrant that the use of the AVEVA software will be uninterrupted, error-free or free from viruses.
1.2
AVEVA shall not be liable for: loss of profits; loss of business; depletion of goodwill and/or similar losses; loss of anticipated savings; loss of goods; loss of contract; loss of use; loss or corruption of data or information; any special, indirect, consequential or pure economic loss, costs, damages, charges or expenses which may be suffered by the user, including any loss suffered by the user resulting from the inaccuracy or invalidity of any data created by the AVEVA software, irrespective of whether such losses are suffered directly or indirectly, or arise in contract, tort (including negligence) or otherwise.
1.3
AVEVA's total liability in contract, tort (including negligence), or otherwise, arising in connection with the performance of the AVEVA software shall be limited to 100% of the licence fees paid in the year in which the user's claim is brought.
1.4
Clauses 1.1 to 1.3 shall apply to the fullest extent permissible at law.
1.5
In the event of any conflict between the above clauses and the analogous clauses in the software licence under which the AVEVA software was purchased, the clauses in the software licence shall take precedence.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Copyright Copyright and all other intellectual property rights in this manual and the associated software, and every part of it (including source code, object code, any data contained in it, the manual and any other documentation supplied with it) belongs to, or is validly licensed by, AVEVA Solutions Limited or its subsidiaries. All rights are reserved to AVEVA Solutions Limited and its subsidiaries. The information contained in this document is commercially sensitive, and shall not be copied, reproduced, stored in a retrieval system, or transmitted without the prior written permission of AVEVA Solutions Limited. Where such permission is granted, it expressly requires that this copyright notice, and the above disclaimer, is prominently displayed at the beginning of every copy that is made. The manual and associated documentation may not be adapted, reproduced, or copied, in any material or electronic form, without the prior written permission of AVEVA Solutions Limited. The user may not reverse engineer, decompile, copy, or adapt the software. Neither the whole, nor part of the software described in this publication may be incorporated into any third-party software, product, machine, or system without the prior written permission of AVEVA Solutions Limited, save as permitted by law. Any such unauthorised action is strictly prohibited, and may give rise to civil liabilities and criminal prosecution. The AVEVA software described in this guide is to be installed and operated strictly in accordance with the terms and conditions of the respective software licences, and in accordance with the relevant User Documentation. Unauthorised or unlicensed use of the software is strictly prohibited. Copyright 1974 to current year. AVEVA Solutions Limited and its 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, registered in the UK, Europe and other countries (worldwide). The copyright, trademark rights, or other intellectual property rights in any other product or software, its name or logo belongs to its respective owner.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4
Contents 1
Introduction ............................................................................................................................................ 11 1.1 Aim................................................................................................................................................... 11 1.2 Objectives ....................................................................................................................................... 11 1.3 Prerequisites .................................................................................................................................. 11 1.4 Course Structure ............................................................................................................................ 11 1.5 Using this guide ............................................................................................................................. 12 2 PDMS Draft Features ............................................................................................................................. 13 2.1 General ............................................................................................................................................ 13 2.2 Automatic Drawing Production (ADP) ......................................................................................... 13 2.3 AutoDraft ......................................................................................................................................... 14 2.4 Draft Administration ...................................................................................................................... 14 3 Project Drawing Administration Training Workflow .......................................................................... 15 4 Getting started with PDMS Draft .......................................................................................................... 21 4.1 Entering a Draft Session ............................................................................................................... 21 4.2 Default Load Errors........................................................................................................................ 22 4.3 Draft Sample Data .......................................................................................................................... 23 4.4 Loading Draft Sample Data via Forms & Menus ......................................................................... 24 4.5 Loading Draft Sample Data using the Command Line ............................................................... 24 4.6 Referencing Draft Sample Data .................................................................................................... 25 Exercise 1 Starting PDMS Draft ............................................................................................................... 26 5 Administrative Rights ............................................................................................................................ 27 5.1 Draft Administrative Rights .......................................................................................................... 27 5.2 Draft Defaults .................................................................................................................................. 27 5.3 Draft User Defaults (Training Setup) ............................................................................................ 28 5.4 Draft System Defaults .................................................................................................................... 29 5.4.1 File Menu Options .................................................................................................................... 29 5.4.2 Library Reference Pointers ...................................................................................................... 30 5.4.3 Element Name Delimiters ........................................................................................................ 31 5.4.4 Layer Purpose Definitions ........................................................................................................ 31 5.4.6 Layer Creation Definitions – A Worked Example ..................................................................... 34 5.4.7 Layer Purpose Filtering – A Worked Example ......................................................................... 34 5.4.8 Sheet Sizes – A Worked Example ........................................................................................... 35 5.4.9 Naming Conventions ................................................................................................................ 35 Exercise 2 Draft Administration Defaults ............................................................................................... 36 6 Drawlist Library ...................................................................................................................................... 37 6.1 Entering Drawlist Library Administration Mode ......................................................................... 37 6.2 Creating a Drawlist Library ........................................................................................................... 38 6.3 Creating and modifying a Drawlist ............................................................................................... 38 6.3.1 Selecting a Drawlist Library & Drawlist .................................................................................... 39 6.3.2 Creating a Drawlist ................................................................................................................... 39 6.3.3 Deleting a Drawlist ................................................................................................................... 40 6.3.4 Defining Drawlist Members ...................................................................................................... 40 Exercise 3 Drawlist Library ...................................................................................................................... 41 7 Sheet Libraries ....................................................................................................................................... 43 7.1 Entering Sheet Library Administration Mode ............................................................................. 43 7.1.1 Creating a Sheet Library – A Worked Example ....................................................................... 44 7.1.2 Creating a Backing Sheet & Content – A Worked Example .................................................... 45 7.2 Restricting the Useable area of a Sheet – A Worked Example ................................................. 48 7.3 Creating an Overlay & Content – A Worked Example ................................................................ 50 7.3.1 Drawlist & Drawlist Reference .................................................................................................. 51 7.3.2 Creating Views in Overs ........................................................................................................... 51 7.3.3 Key Plan Design Areas ............................................................................................................ 54 Exercise 4 Sheet Libraries ....................................................................................................................... 56 8 Symbol Libraries .................................................................................................................................... 57 8.1 Entering Symbol Library Administration Mode – A Worked Example ..................................... 57 8.2 Creating a Symbol Library – A Worked Example ....................................................................... 57 8.3 Creating Symbol Templates – A Worked Example ..................................................................... 58 www.aveva.com 8.3.1 Adding Annotation via a Backing Sheet ................................................................................... 60 5 © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Plant (12.1) Project Drawing Administration TM-1302
8.4 2D Symbolic Representation Administration .............................................................................. 62 8.4.1 Project Structure and Distribution ............................................................................................ 62 8.4.2 Draft Symbol Sets – A Worked Example ................................................................................. 62 8.4.3 Non-uniformly Scaled Design Symbols .................................................................................... 65 8.4.4 Orientating Design Symbols ..................................................................................................... 65 Exercise 5 Symbol Libraries .................................................................................................................... 66 9 Label Library Administration ................................................................................................................ 67 9.1 Entering Label Library Administration Mode .............................................................................. 67 9.2 Creating a Label Library – A Worked Example ........................................................................... 67 9.3 Creating Symbol Templates – A Worked Example ..................................................................... 69 9.3.1 Adding Annotation via a Backing Sheet ................................................................................... 70 9.4 Creating Text Templates – A Worked Example .......................................................................... 71 9.5 Searching Label Libraries ............................................................................................................. 72 Exercise 6 Label Libraries ........................................................................................................................ 73 10 Style Libraries .................................................................................................................................... 75 10.1 Entering Style Library Administration Mode ............................................................................... 75 10.2 Creating a Style Library – A Worked Example ............................................................................ 75 10.3 Creating and Deleting Styles ........................................................................................................ 77 10.3.1 Creating a Style – A Worked Example ..................................................................................... 77 10.3.2 Deleting a Style ........................................................................................................................ 77 10.3.3 Listing Style Attributes .............................................................................................................. 78 10.3.4 Setting Style Attributes ............................................................................................................. 78 10.3.5 Draft Line Widths ...................................................................................................................... 80 10.4 Creating a Hatching Library – A Worked Example ..................................................................... 80 10.5 Creating and Deleting Hatching Styles ........................................................................................ 81 10.5.1 Creating a Hatching Style ........................................................................................................ 81 10.5.2 Deleting a Hatching Style ......................................................................................................... 82 10.5.3 Setting Hatching Style Attributes .............................................................................................. 82 10.6 Creating a Change Style Library – A Worked Example.............................................................. 86 10.7 Creating and Deleting Change Design Styles ............................................................................. 87 10.7.1 Creating a Design Change Style – A Worked Example ........................................................... 87 10.7.2 Deleting a Change Design Style .............................................................................................. 88 10.7.3 Listing Change Design Style Attributes .................................................................................... 88 10.7.4 Setting Change Design Style Attributes ................................................................................... 88 10.8 Creating a Annotation Change Style Library – A Worked Example ......................................... 89 10.9 Creating and Deleting Annotation Change Styles ...................................................................... 90 10.9.1 Creating a Annotation Change Style – A Worked Example ..................................................... 90 10.9.2 Deleting a Annotation Change Style ........................................................................................ 91 10.9.3 Listing Style Attributes .............................................................................................................. 91 10.9.4 Setting Change Style Attributes ............................................................................................... 91 Exercise 7 Style Libraries......................................................................................................................... 93 11 Representation Rules ........................................................................................................................ 97 11.1 Entering Style Library Administration Mode ............................................................................... 98 11.2 Creating a Representation Library – A Worked Example .......................................................... 98 11.3 Creating and Deleting Representation Rules .............................................................................. 99 11.3.1 Creating a Rule ........................................................................................................................ 99 11.3.2 Deleting a Rule ....................................................................................................................... 100 11.3.3 Specifying the Elements to which Rules Apply ...................................................................... 100 11.3.4 Associating Representation Rules with Styles ....................................................................... 101 11.4 Creating a Hatching Library – A Worked Example ................................................................... 101 11.5 Creating and Deleting Hatching Rules – A Worked Example .................................................. 102 11.5.1 Creating a Rule ...................................................................................................................... 102 11.5.2 Deleting a Rule ....................................................................................................................... 103 11.5.3 Specifying the Elements to which Rules Apply ...................................................................... 103 11.5.4 Associating Hatching Representation Rules with Hatching Styles ........................................ 104 11.6 Creating a Change Rule Library – A Worked Example ............................................................ 105 11.7 Creating and Deleting Change Rules – A Worked Example .................................................... 106 11.7.1 Creating a Rule ...................................................................................................................... 106 11.7.2 Deleting a Rule ....................................................................................................................... 107 www.aveva.com 11.7.3 Specifying the Elements to which Design Change Rules Apply ............................................ 107 © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
6
AVEVA Plant (12.1) Project Drawing Administration TM-1302
11.7.4 Specifying the Annotation to which Annotation Rules Apply ................................................. 107 11.7.5 Applying Restrictions for Design Change Rules .................................................................... 107 11.7.6 Associating Change Representation Rules with Change Styles ........................................... 108 Exercise 8 Representation Rules ......................................................................................................... 109 12 Tag Rule Libraries ............................................................................................................................ 113 12.1 Entering Auto Tagging Administration Mode ........................................................................... 113 12.2 Creating a Tag Rule Library – A Worked Example ................................................................... 113 12.3 Creating and Deleting Tag Rule Sets ......................................................................................... 114 12.3.1 Creating a Tag Rule Set – A Worked Example...................................................................... 114 12.3.2 Deleting a Tag Rule Set ......................................................................................................... 115 12.4 Creating and Setting Up Tag Rules ............................................................................................ 115 12.4.1 Viewing Tag Rules ................................................................................................................. 115 12.4.2 Specifying the Elements to which Rules Apply ...................................................................... 115 12.4.3 Creating a Tag Rule – A Worked Example ............................................................................ 116 12.4.4 Deleting a Tag Rule ............................................................................................................... 116 12.4.5 Criteria for Tag Rule Application – A Worked Example ......................................................... 116 12.4.6 Associating a Label Template with a Tag Rule – A Worked Example ................................... 116 12.4.7 Associating a Drawlist with a Tag Rule .................................................................................. 117 Exercise 9 Tag Rules .............................................................................................................................. 119 13 Database Updates ............................................................................................................................ 121 13.1 Updating Picture Files ................................................................................................................. 121 13.2 Updating Template Instancing .................................................................................................... 121 13.3 Updating Cross-DB Reference Attributes ................................................................................. 121 13.4 Updating Cross-DB Name Attributes ......................................................................................... 121 14 Plotting and Printing Options ......................................................................................................... 123 14.1 AVEVA-Plot Service ..................................................................................................................... 124 14.3 PlotViewer ..................................................................................................................................... 125 14.4 Plotting using Plot ....................................................................................................................... 125 14.4.2 Example HPGL2 soft driver with Pen Thickness Support ...................................................... 126 14.6 Other Output Formats.................................................................................................................. 127 14.7 Other Plotting Options ................................................................................................................ 128 14.8 Saving Plot Options ..................................................................................................................... 128 14.9 Print ............................................................................................................................................... 128 Exercise 10 Plot Options ...................................................................................................................... 128 15 Automatic Drawing Production (ADP) Administration ................................................................ 131 15.1 General ADP ................................................................................................................................. 131 15.2 Setting the ADP Defaults – A Worked Example ........................................................................ 132 15.3 Type 1 Annotation (Pipe) – A Worked Example ........................................................................ 133 15.3.1 General Settings..................................................................................................................... 134 15.3.2 Layer Purpose ........................................................................................................................ 135 15.3.3 Dimension Rules .................................................................................................................... 135 15.3.4 Projection Line Text Settings ................................................................................................. 136 15.3.5 Checking Pipe Zone Settings for Type 1 Annotation ............................................................. 136 15.4 Type 2 Annotation (Equipment) – A Worked Example ............................................................. 137 15.4.1 General Settings..................................................................................................................... 138 15.4.2 Layer Purpose ........................................................................................................................ 138 15.4.3 Dimension Rules .................................................................................................................... 138 15.4.4 Projection Line Text Rules ..................................................................................................... 139 15.4.5 Checking Equipment Zone Settings for Type 2 Annotation ................................................... 139 15.5 Type 3 Annotation (Gridlines) – A Worked Example ................................................................ 139 15.5.1 General Settings..................................................................................................................... 140 15.5.2 Layer Purposes ...................................................................................................................... 140 15.5.3 Dimension Rules .................................................................................................................... 140 15.5.4 ‘X/Y–Axis’ Projection Line Text Rules .................................................................................... 141 15.5.5 Checking Steelwork Settings for Type 3 Annotation .............................................................. 141 15.6 General ADP Defaults .................................................................................................................. 141 15.6.1 Representation ....................................................................................................................... 142 15.6.2 Add / Remove Volume Drawlist Rules ................................................................................... 143 15.7 Schedules ..................................................................................................................................... 143 www.aveva.com 15.8 Tagging – A Worked Example .................................................................................................... 143 © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
7
AVEVA Plant (12.1) Project Drawing Administration TM-1302
15.8.1 Changing the Tagging Rule Library ....................................................................................... 144 15.9 Creating a Tagging Library ......................................................................................................... 144 15.10 Creating a Schedule Library – A Worked Example .............................................................. 145 15.10.1 Creating a New Schedule................................................................................................... 147 15.10.2 Creating a New Tagging Rule ............................................................................................ 149 15.10.3 Set and save the ADP Defaults .......................................................................................... 151 15.11 Backing Sheet Controls ........................................................................................................... 152 15.11.1 Reference Drawings ........................................................................................................... 152 15.11.2 Sheet Limits ........................................................................................................................ 153 15.11.3 Schedules ........................................................................................................................... 153 15.11.4 Keyplan............................................................................................................................... 154 15.11.5 Title ..................................................................................................................................... 154 15.11.1 Logo.................................................................................................................................... 154 15.11.2 Frame ................................................................................................................................. 155 15.11.3 Summary ............................................................................................................................ 155 15.12 Steelwork Detailing ADP ......................................................................................................... 155 15.13 SDA Options ............................................................................................................................. 156 Exercise 11 ADP Drawings ................................................................................................................... 158 16 AutoDRAFT Administration ............................................................................................................ 159 16.1 Updating the PDMS Batch File ................................................................................................... 160 16.2 Configuring AutoCAD for use with AutoDRAFT – A Worked Example .................................. 160 16.3 Accessing AutoDRAFT Administration ..................................................................................... 161 16.4 Starting the Symbol Editor - A Worked Example ...................................................................... 161 16.5 Drawing Symbols in AutoCAD – A Worked Example ............................................................... 163 16.6 Starting the Frame Editor – A Worked Example ....................................................................... 166 16.6.1 Backing Sheets in AutoCAD .................................................................................................. 167 16.7 Importing Symbols and Backing/Overlay Sheets – A Worked Example ................................ 167 Exercise 12 AutoDraft ........................................................................................................................... 169 17 Isometric Administration ................................................................................................................. 171 17.1 Entering Style Library Administration Mode ............................................................................. 171 17.2 Entering an Isodraft session ....................................................................................................... 171 17.3 Isometric Option Files ................................................................................................................. 172 17.3.1 Company Option Files ............................................................................................................ 172 17.3.2 Project Option Files ................................................................................................................ 173 17.4 Creating a Standard Isometric Project Option File – A Worked Example .............................. 173 17.5 Drawing sheet layout ................................................................................................................... 175 17.6 Administrative Options – A Worked Example ........................................................................... 176 17.6.2 Using True Type Fonts on Isodraft Output files ..................................................................... 179 17.7 Sheet Layout Options – A Worked Example ............................................................................. 181 17.7.1 Size/Stacking.......................................................................................................................... 181 17.7.2 Graphics ................................................................................................................................. 181 17.7.3 Specifications ......................................................................................................................... 183 17.7.4 Flow Arrows and Margins ....................................................................................................... 183 17.7.5 Reserved Areas...................................................................................................................... 183 17.8 Dimensioning Options – A Worked Example ............................................................................ 185 17.8.1 Units ....................................................................................................................................... 185 17.8.2 Dimensions ............................................................................................................................. 186 17.8.3 Skew Box ............................................................................................................................... 187 17.8.4 Tapping Branches .................................................................................................................. 188 17.9 Annotation Options – A Worked Example ................................................................................. 189 17.9.1 Whitespace Search ................................................................................................................ 190 17.9.2 Item Codes ............................................................................................................................. 190 17.9.3 Coordinates ............................................................................................................................ 190 17.9.4 Keys ....................................................................................................................................... 190 17.10 Material List – A Worked Example ......................................................................................... 191 17.10.1 Options ............................................................................................................................... 191 17.10.2 Detail Texts ........................................................................................................................ 192 17.10.3 Item Codes ......................................................................................................................... 192 17.10.4 Bolting................................................................................................................................. 192 www.aveva.com 17.10.5 Spooling.............................................................................................................................. 193 © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
8
AVEVA Plant (12.1) Project Drawing Administration TM-1302
17.10.6 Material List File ................................................................................................................. 193 17.11 Material Columns ..................................................................................................................... 193 17.12 Weld Numbering ....................................................................................................................... 195 17.13 Pipe / Spldrg Attribute Table – A Worked Example .............................................................. 196 17.14 Revision Table – A Worked Example ..................................................................................... 197 17.15 Bend Table and File ................................................................................................................. 197 17.16 Reports and Symbol File ......................................................................................................... 198 17.17 Title block.................................................................................................................................. 199 17.18 Attribute Frame Texts .............................................................................................................. 200 17.19 Standard Texts ......................................................................................................................... 201 17.19.1 Using True Type Fonts on Isodraft Output files ................................................................. 201 17.19.2 Typical Option File Including a Backing Sheet ................................................................... 202 17.20 Component Tags ...................................................................................................................... 202 17.21 Detail Plots ................................................................................................................................ 203 17.22 .......................................................................................................................................................... 205 17.23 Compipe Interface .................................................................................................................... 206 17.24 Alternative Texts ...................................................................................................................... 206 17.25 IDF Processing ......................................................................................................................... 207 17.26 Change Highlighting ................................................................................................................ 207 Exercise 13 IsoDraft Administration .................................................................................................. 209 18 IsoDraft Symbol Libraries ............................................................................................................... 211 18.1 Entering Isometric Symbol Library Administration Mode ....................................................... 212 18.2 Creating an Isometric Symbol Library – A Worked Example .................................................. 212 18.3 Creating IsoDraft Symbol Templates – A Worked Example .................................................... 213 18.3.1 Drawing the Isometric Symbol ............................................................................................... 214 18.3.2 Exporting the ISODRAFT Symbol .......................................................................................... 214 18.3.3 Importing ISODRAFT Symbols .............................................................................................. 216 18.3.4 Typical Isodraft Symbol Definition File ................................................................................... 217 Exercise 14 Isodraft Symbol Libraries ................................................................................................ 218 Appendix A Draft Defaults .................................................................................................................... 219 Appendix B Example Drawing Styles .................................................................................................. 223
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
9
AVEVA Plant (12.1) Project Drawing Administration TM-1302
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
10
CHAPTER 1
1
Introduction
PDMS Draft is the AVEVA Plant Drawing Production and Annotation Module. The Drawing created using PDMS Draft is populated with information taken directly from the Design or Draft Databases. This associated intelligence ensures the drawing accurately reflects the intended design and updates automatically to reflect any Design Changes. This Training Course is designed for PDMS Administrators to understand the basics in administering Project Drawing Production and Isometric Production using PDMS.
1.1
Aim
In completing the Project Drawing Administration course, participants will learn the general principles of administration for customising the Draft working environment; enabling users to work more quickly and more effectively.
1.2
Objectives
Through the completion of the training, the Trainee will have sufficient knowledge to complete the following tasks: To understand the different types of administrative libraries. To be able to create and edit standard libraries.
To be able to create and edit symbolic and general labels. To be able to create and edit backing sheets. To be able to create and edit representation rule sets. To be able to create and edit change highlighting rules. To be able to configure and customise Automatic Drawing Production. To be able to create transfer symbols and backing sheets using the AutoDRAFT / AutoCAD interface. To be able to configure and customise Isometric Production and Symbols.
Chapter 3 provides a more detailed training outline, together with the training outputs expected of participants.
1.3
Prerequisites
Trainees must have attended the AVEVA Plant Drawing Production (Basic) and (Advanced) courses and be familiar with Microsoft Windows. It is preferable for the Trainee to have completed the Basic System Administration course or have an understanding of the Administration principles of PDMS.
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.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
11
AVEVA Plant (12.1) Project Drawing Administration TM-1302
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 press actions are indicated by bold dark turquoise text. Information the user has to key-in will be in bold red text. Where additional information is presented, or reference is made to other documentation the following annotation will be used:
Additional information Refer to other documentation
System prompts will be bold, italicised, and presented in inverted commas i.e. 'Choose function'. Example files or inputs will be in the courier new font.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
12
CHAPTER 2
2
PDMS Draft Features
The Draft module within PDMS allows the designer to generate fully annotated engineering drawings directly from data in the PDMS Design model. Furthermore, the Draft module allows drawings to be easily updated to reflect design model changes. Chapter 2 outlines the facilities that may be utilised within Draft to produce drawings.
2.1
General
The Draft Graphical User Interface (GUI) has been designed to allow the User to generate and retrieve industry standard engineering drawings efficiently. The following features of Draft aid the drawing production process: The designer can add dimensioning and other annotations with information taken directly from the design model. The Draft drawing can be created with any view angle and the representation of the drawing graphics is controlled by representation rules that are pre-defined by the project administrator. Various levels of wireline and hidden line removal views can be used. Sectional views can be generated by the creation of flat or stepped section planes. The scale of the drawing can be selected from a set of Metric, Architectural and Engineering values, with the option of an automatic scale selection to use the largest appropriate scale. A label can be attached to any design element and used to display any attribute of the design element. The format, content and appearance of the labels are controlled by the designer. Direct reference to the design data, combined with a simple update operation, ensures that the annotation always reflects the current state of the design model. The ability to employ Autotagging is a quick solution for automatically generating labels that match a tagging rule. The rule determines the type of label and the design items the labels will be applied too. A dimension is calculated directly from the design model, the Designer can control the format, content and appearance of the dimensions. As with labelling, direct reference to the design data ensures that the annotation always reflects the current state of the design model with a simple update operation. 2D drafting allows the designer to generate additional 2D annotation and graphics to form drawings. As with other Draft data, 2D annotation can be linked to design data and can be updated to follow the changes that occur in the design model.
For further information, refer to TM-1002 Drawing Production (Basic)
2.2
Automatic Drawing Production (ADP)
As the title of the application infers, this aspect of Draft enables the Designer to produce annotated drawings automatically. A set of rules determine how the annotation is generated. The drawings can be edited, if necessary, using the normal editing options in Draft. There are a number of ADP applications for different disciplines.
www.aveva.com
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
13
AVEVA Plant (12.1) Project Drawing Administration TM-1302 AVEVA PDMS Area Based Automatic Drawing Production enables standard production drawings, complete with annotation, to be automatically generated based on engineering disciplines and Plant areas.
Refer to TM-1206 Drawing Production (Advanced) Refer to TM-1209 Area Based Automatic Drawing Production Refer to TM-1305 Area Based Automatic Drawing Production Administration
2.3
AutoDraft
This facility imports drawings directly from Draft into AutoCAD. However, it should be noted that once this action is done, the drawing in AutoCAD has no direct link to the design model or data – thereby not allowing drawing updates to occur from the PDMS design model. Symbols and drawing frames can be exported from AutoCAD directly into Draft.
Refer to TM-1206 Drawing Production (Advanced)
2.4
Draft Administration
The core part of this training relates to Draft Administration. Using this application, the Project Administrator is able to specify and customise the Draft environment. This includes setting default attribute values, creating drawing frames (commonly referred to as backing sheets), symbols and labels. The Administrator will also set the representation rules, labelling rules, naming conventions, line styles, hatch patterns and available symbols.
The Administration Option is only available to Free Users or Members of the DRAFTADMIN Team.
To facilitate the above Administrative functions there are a number of administrative applications within Draft. These applications can be used to customise and configure the Draft environment to company or project standards. These applications are: General Administration. Sheet Libraries: Contain Backing sheets and Overlays for use on a project. Symbol libraries: Contain 2D symbols. Isodraft Symbol Libraries: Contain symbols to be used on IsoDraft isometric drawings. Label Libraries: Contain Symbolic and General Labels. Style libraries: Contain drawing styles for use in conjunction with representation rule sets. Representation Libraries: Contain Drawing representation rule sets. Drawlist Libraries: Contain standard Drawlists. Tagging Rules: Contains tag rules and tag rule sets. Automatic Drawing Production. AutoDraft – AutoCAD Interface. In addition to the above, there are a number of default files, which are used to set the default attributes of Draft database elements and define the libraries available to the general user.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
14
CHAPTER 3
3
Project Drawing Administration Training Workflow
Chapter 3 highlights the expected training outputs in undertaking the Project Drawing Administration training course and acts as a quick–reference guide to Draft Administration tasks. The Training workflow will follow the Administrative workflow in creating the necessary ‘ingredients’ for Drawing production i.e. Backing Sheet creation through to Representation and Styles that may be utilised. The Drawing image presented at each workflow stage illustrates how each Administrative task may be reflected in the final produced drawing. The course will also highlight Administrative tasks associated with Automatic Drawing Production and, the AutoDraft and IsoDraft applications.
3.1
Training Workflow Overview
1.
Create Reference Drawlists
WORKFLOW
Drawlist Libraries (DLLB) contain a group of Drawlists (IDLI or ID Lists) which allow users to create lists of design elements to be drawn or sectioned. The DLLBs and IDLIs can be assigned to design items according to design disciplines, project areas, or any other classifications appropriate to specific working practices.
Drawlist creation is regarded as the first administrative task in the training due to drawlist requirement for overlay / Keyplan creation. Refer to Chapter 6 for information on Drawlist Library creation.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
15
AVEVA Plant (12.1) Project Drawing Administration TM-1302 2.
Create a Sheet Library: Backing Sheet & Overlay
Refer to Chapter 7 for information on the creation of Sheet Libraries.
3.
Create a Symbol Library
WORKFLOW
A key task for the Draft Administrator is to set up Sheet Libraries (SHLB) containing the Backing Sheets (BACK) and Overlay Sheets (OVER). These sheet libraries will be referenced by the general user on creation of Drawings and Views.
Symbol Libraries (SYLB) contains the Symbol Templates (SYTM) from which users can select 2D symbols to add to their drawings. Each SYTM may comprise any combination of 2D primitives, text primitives (TEXP) and existing symbol instances (SYMB).
Refer to Chapter 8 for information on Symbol Library creation.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 16
AVEVA Plant (12.1) Project Drawing Administration TM-1302 4.
Create a Label Library
Refer to Chapter 9 for information on the creation of Label Libraries.
5.
Create a Style Library & Representation Rules
WORKFLOW
A key administrative task is to set up Label Libraries (LALB) containing the Symbol Templates (SYTM) and Text Templates (TXTM) from which users can create symbolic (SLAB) or general (GLAB) labels respectively.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
17
AVEVA Plant (12.1) Project Drawing Administration TM-1302 It is required of the Draft Administrator to set up Styles (STYL) within Representation Libraries (RPLB); these define the detailed representation the general user will use for various aspects of the drawing. The Administrator will also be required to create the following: Representation Rulesets (RRST) and Representation Rules (RRUL). Hatching Rule Sets (HRST) and Hatching Rules (HRUL). Change Rulesets (CRST), Design Change Rules (DCRULE) and Annotation Change Rules (ACRULE).
Refer to Chapters 10 & 11 for information on the creation of Style Libraries and Representation Rules.
6.
Create Tag Rules
WORKFLOW
Tag rules determine which items will be tagged in the View graphics, enabled by the Administrator defining Tag Rule Sets (TRST) and Tag Rules (TAGR) within Tag Rule Libraries (TRLB). When accessed during normal Draft drawing operations, each TAGR references a Tagging Template; this may be either a SYTM or a TXTM.
Refer to Chapter 12 for information on the creation of Tag Rules.
7.
Database Update Administration
There are occasions when the Draft database is required to be updated specifically, as opposed to the routine updating that occurs from time to time in normal use. The Draft Administrator is able to undertake this task.
Refer to Chapter 13 for information on Database Update Administration.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 18
AVEVA Plant (12.1) Project Drawing Administration TM-1302 8.
Printing & Plotting Administration
The Administrator can enter or select operating system command strings that enable users to plot files in a variety of formats: PDMS supports output formats such as PDF, BMP and JPG.
EXAMPLE DRAWING OUTPUT
Refer to Chapter 14 for information on Printing & Plotting Administration.
9.
Automatic Drawing Production (ADP) Administration
The General ADP options create drawings from specified parts of the Design, and add annotation according to defaults set up by the System Administrator. The ADP facility can also be used to produce Pipe, HVAC and Structural sketches.
ADP DRAWING OUTPUT
Refer to Chapter 15 for detailed information on ADP Administration
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
19
AVEVA Plant (12.1) Project Drawing Administration TM-1302 10.
AutoDraft Administration
AUTODRAFT OUTPUT
It is possible to transfer a Draft drawing directly across to AutoCAD, where some Designers prefer to perform final annotation before drawing issue. The transferred drawing maintains the exact style and representation as set within Draft.
AutoCAD
Refer to Chapters 16 for detailed information on AutoDraft
11.
IsoDraft Administration
IsoDraft, the Isometric drawing production module, uses a series of Option Files that describe how the Isometric should be drawn. It is necessary for the Draft Administrator to modify and create a Standard Isometric Project Option File and utilise a selection of options to configure Isodraft. Symbol keys are used in Isodraft to represent piping symbols on the isometric plot. Isodraft Symbol Libraries (ISOLB) contain the Isometric Symbol Templates (ISOTM), thus allowing the Administrator to create and modify Isometric Symbol Keys. ISODRAFT OUTPUT
Refer to Chapters 17 & 18 for detailed information on IsoDraft Administration
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
20
CHAPTER 4
4
Getting started with PDMS Draft
Chapter 4 aims to introduce the Draft application in regards to access, the user interface and the Draft viewing and manipulations controls.
4.1
Entering a Draft Session
To start AVEVA PDMS and login to the Draft Module, the User must select the following:
&
Or
AVEVA Plant > Design > PDMS 12.1.SP2 > Draft from the Windows Start Menu.
The Trainer will provide user names and passwords; a typical example is shown below.
Project:
Training
Username:
A.DRAFTADMIN
Password:
A
MDB:
A-PIPING
Click the Login button.
The User must be a member of the Draft administration team DRAFTADMIN and the PROJECT team to be able to customise existing backing sheets and symbols during the course. The Trainer has added A-DRAFTADMIN to these teams.
On loading PDMS Draft, a default screen layout will be displayed comprising application menus / toolbars and a Draft Explorer. On entry to Draft, the General user application is selected by default.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
21
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Select Draft > Administration… from the main menu to enter the Administration application.
The application pull-down is updated to include a number of Administration modules that may be used to perform specific Draft Administration tasks
Once in the Administration application, Draft > User Application… can be used to return to the Draft User Application.
4.2
Default Load Errors
Contrary to the Training Project, errors may be presented on entry to Draft where the MDB does not include the required Draft database i.e. MASTER/PADD, and/or does not reference a number of basic settings for pens, aids, etc. that are required by Draft. If Draft initialises without errors the default files have loaded correctly. The utilised Training Project will enter without Load Errors. This can be verified by selecting Display > Appware Load Errors… from the main menu to display the Default Load Errors form. As indicated below, the form will state that ‘No Errors Occurred During Load’ for the Training project.
Click the Dismiss button to close the form. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 22
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Note the following typical errors that can occur with customer projects:
4.3
If load errors do occur, PDMS Draft will not load - only the command line will be displayed.
Draft Sample Data
The AVEVA supplied Master Project (MAS) includes two databases that may be referenced from the project MDBs. The database MASTER/PADD contains the following AVEVA data: General Admin Master Library DEPT AID information User defined pen display Backing sheets Label and Symbol libraries H&S ADP hierarchy Structural detailing ADP hierarchy Symbol templates. The database MASTER/DICT contains the UDA definitions that are required within the Draft module. This database must be present in all Draft MDBs. The AVEVA supplied Sample project (SAM) includes a database ADMIN/PADD which contains the following data: Project Library Drawing and sheet templates ADP schedules Auto tagging hierarchy
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 23
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Representation Rulesets Hatching rules Styles Overlays General auto tagging Drawlists and circulation lists.
The database ADMIN/PADD has been copied to the Training Project and renamed PROJECT/PADD.
It is normal practice to reference these databases but for completeness, and for the purpose of Training, they (macros) are included.
4.4
Loading Draft Sample Data via Forms & Menus
If project default data is available, the Data File may be accessed by selecting Settings > Load Data Files… from the General Administration main menu.
The Load Draft Data Files form is displayed:
The following Departments are available for selection within the Training Project: Master Libraries (DEPT)
loads all sample libraries supplied by AVEVA.
Project libraries (DEPT)
loads all project specific libraries supplied by AVEVA.
There is also an option to load sample drawings but for the purposes of the training this option is not required. Sample Project Drawings (DEPT)
4.5
loads sample drawings for viewing.
Loading Draft Sample Data using the Command Line
A second option is available to load the sample data files into the Draft database. This can be undertaken where the project contains specific project data, but also requires AVEVA supplied data. If there is no default project data, it will be necessary to run the following macros in DEV TTY mode on the command line in Draft. The macros are located in the directory %PDMSUI%/DRA/DATA MASTER.DAT PROJECT.DAT SAMPLE.DAT
Defaults must be loaded using the command line if the Draft forms and menus are not being displayed.
As an example, the Administrator may enter the following on the command line: $M/%PDMSUI%/DRA/DATA\MASTER.DAT $M/%PDMSUI%/DRA/DATA\PROJECT.DAT DRAFT © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 24
AVEVA Plant (12.1) Project Drawing Administration TM-1302
4.6
Referencing Draft Sample Data
As noted previously, AVEVA supply the Draft default data in two databases, one in the Master Project (MAS) called MASTER/PADD, and one in the Sample Project (SAM) called ADMIN/PADD.
MASTER/PADD
should be included as a foreign database.
ADMIN/PADD
should be copied into the project as a basis for project customisation.
Including and copying databases is covered by TM-1300 AVEVA Plant (12.1) System Administration (Basic). MASTER/DICT should be included as a foreign database.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
25
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Exercise 1
Starting PDMS Draft
Enter the Training Project (TRA) and navigate to the Draft Administration application as described within the Chapter. Check the current MDB and ensure that the databases PROJECT/PADD and MASTER/PADD are available in the MDB. This can be done via the Command Window using the STATUS Command. Become familiar with the application layout and available menus.
If the Training is being carried out on a non-AVEVA supplied project, ADMIN/PADD and MASTER/PADD must be included in the current MDB.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
26
CHAPTER 5
5 5.1
Administrative Rights Draft Administrative Rights
To access the Administrator options within Draft, the User must be a member of a Draft Administration team with read/write access to the Draft database(s) that contain the relevant libraries. The list of authorised Draft Admin teams is held within the file DRA-SETUP; located, in a standard installation, at: C:\AVEVA\Plant\Data12.1.SP2\pdmsui\DFLTS\dra-setup. The file may be modified to suit the team names being used. The standard Draft administration team referred to during this course will be DRAFTADMIN. $* Set administration team global variable $* If the user is a member of one of the teams specified $* he/she is given access to the Draft Administrator Applications var !!CDSADMTEAM |MASTER DRAFTADMIN|
The value of the variable !!CDSADMTEAM can be modified as required.
In addition, the DRA-SETUP file contains the location of the Draft default files. The Administrator should give consideration to the location of these default files. It is possible to have two arguments set for the environment variable %PDMSDFLTS%, to ensure that a subsequent AVEVA Plant installation does not overwrite these files. For example: PDMSDFLTS = F:\company\pdmsui\DFLTS C:\AVEVA\Plant\Data12.1.SP2\pdmsui\DFLTS Read / Write access is required to this directory for the Draft Administrator but only Read access is required for general users.
5.2
Draft Defaults
As a Draft Administrator, the settings in the defaults files may be altered; if necessary creating a different defaults file for each of the company's drafting requirements. The defaults file accessed by an individual user is determined by the setting of the user's PDMSDFLTS environment variable. Defaults can be set for the following: Definitions of layers for use with views; defined in terms of their purpose and associated attribute groups. Definitions of name delimiters; that is, the characters used to separate the component parts of an element's name. Pointers to the libraries from which the different aspects of the Draft drawing functions obtain standard data, for example: -
2D symbols and labels
-
Backing sheets and overlay sheets
-
Global representation rules and local styles
-
Circulation lists
-
Drawlists
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 27
AVEVA Plant (12.1) Project Drawing Administration TM-1302 -
Tag rules and tag templates
-
DRWG and SHEE templates.
A list of default files used by the Draft applications can be found in Appendix A.
5.3
Draft User Defaults (Training Setup)
When entering the Draft module, the file DRA-GEN-SYSTEM is read - defining the User Defaults required. The default system settings can be viewed and modified for the current session by the User. To display the User Defaults form select Settings > User Defaults… from the main menu.
Using the File option, Designers can load settings that have been pre-defined by the Draft Administrator. The defaults for the Training have been pre-defined by an Administrator (Trainer) and are applied by selecting File > Load Pre-Defined From... from the User Defaults form menu. Navigate to: C:\AVEVA\Plant\Training12.1\Training\pdmsui\dflts (or as located by Trainer). Select the file dra-gen-system to populate the User Defaults form as displayed above i.e. the setting of True Type Font specific defaults.
User Defaults are only valid for the current Draft session.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
28
AVEVA Plant (12.1) Project Drawing Administration TM-1302
5.4
Draft System Defaults
To view and modify Draft System Defaults, the Administrator is able to prompt the Draft System Defaults form on selecting Settings > System Defaults… from the Administration main menu. The current default file being used is displayed in the top area of the Draft System Defaults form. The form displays all the default settings for the current project:
5.4.1 File Menu Options The options available to save and load from file, via the Draft System Defaults form, are as listed:
Save
save changes to settings to displayed file.
Save As…
save changes to settings to a specified file.
Load
load defaults from current DRAFT defaults file.
Load From
load defaults from a specified file.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
29
AVEVA Plant (12.1) Project Drawing Administration TM-1302 For the Load and Load From options, the Draft Administrator can perform either a full or partial load by selecting the relevant option from the submenu: Full Load clears all existing default values from the forms before loading the new ones. A check is also completed, to ensure that the minimum numbers of default values are loaded to allow the application to run correctly. Partial Load does not clear the existing form settings, allowing the Administrator to overwrite a subset of the defaults available. Display Errors… displays the Default Load Errors form, which shows all errors that occurred during loading. Each error message shows the load file line number at which the error occurred and a brief description of the error.
Restore Backup restores default settings from back up file, i.e. DRA-GEN-SYSTEM.bak
The File DRA-GEN-SYSTEM may be read only.
5.4.2 Library Reference Pointers The Master Project Defaults and Local Project Defaults parts of the Draft System Defaults form display the library references used throughout the Draft applications.
To change the identified references, the user is able to navigate to the appropriate element in the Draft Explorer - as shown to the right of the CE button i.e. LIBY or SHLB, and click the CE button to transfer the name of the current element to the text field. www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
30
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Alternatively the appropriate reference can be directly entered into the text field or imported using the File menu options.
5.4.3
The User Defaults form is initialised with the settings from the Draft System Defaults form after it has been loaded from file. Subsequent changes to the User Defaults form, override (but do not change) the settings on the Draft System Defaults form.
Element Name Delimiters
By default, the individual parts of the PDMS element names are separated by a delimiting character ( / ) e.g. SHEETS/SHLB1/BACK1/SN1.
The Name Delimiters section of the Draft System Defaults form allows the Administrator to specify an alternative delimiter character to be used for Style names, Label Library names and/or Drawlist Library names.
5.4.4 Layer Purpose Definitions Clicking the Layer Purpose Definitions… button on the Draft System Defaults form will display the Layer Purpose Definitions form. The list gadget displays all the currently defined layers. To create a new layer definition, a Layer Purpose to a maximum of three characters is entered, an attribute default setup file specified and the appropriate attributes selected - displayed when the layer is modified. Clicking the Insert button creates a definition after the currently selected definition in the list. Layer Purpose: purpose value to be set on layer upon creation. Setup File: default file to be executed upon creation of layer. Delete / Insert: apply to currently selected settings in form. Attributes: determines which attributes are displayed on the Layer Attributes form in the user application. OK: applies the current values to the updated definition.
5.4.4.1 Layer Purpose All layers have a PURP attribute, which is set to a four character keyword. This attribute identifies the purpose for which that layer is intended to be used. Layer Purposes cannot be duplicated under a single owning View. The Layer Purpose box on the form allows the Administrator to specify the purpose as a three character string. The fourth character is added automatically when setting the PURP, thereby allowing www.aveva.com multiple layers of a given type to be created under a single View. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
31
AVEVA Plant (12.1) Project Drawing Administration TM-1302
The purpose keyword TAG is reserved for Autotagging layers. This is a requirement of the application and must always be defined in the layer defaults. If it is omitted, a TAG layer purpose definition will be appended automatically during default initialisation. The TAG layer purpose definition cannot be deleted.
5.4.4.2 Setup File The Setup File field is used to specify the (macro) file that will be executed to set the layer attributes after a layer has been created. This ensures that all users create layer annotation to a common standard. Nine layer default files are supplied as standard and are located in the %PDMSDFLTS% directory. The copying and modification of these (macro) file(s) allow the Administrator to create company and/or project specific standards. New files can also be created for purpose types of an alternative, user specific definition.
5.4.4.3 Creating a Layer Setup / Defaults File – A Worked Example The most efficient way to create a Layer Default File is to copy an existing file and customise it to suit the project requirements. Default files are held in the directory pointed to by the environment variable %PDMSDFLTS%. Variables can be queried in PDMS using the Command Window (Display > Command Window…) and entering: Q EVAR PDMSDFLTS. Using the given location as a reference, copy the file DRA-GEN-DIMLAY and rename to DRA-EQUIPDIMLAY.
The default file can be copied in Windows and edited using a suitable editor.
Editing the file as below modifies the Header and sets the dimension text size as 10mm: $p Equipment DIM Layer Defaults $* Layer general FONT 11 TXCOLOUR 10 JUST LEFT
TEXT attributes $* Text font $* Text pen (colour) $* Text justification
$* Layer DIMENSION attributes DIRE E $* Dimension direction DLCOLOUR 10 DLSTYLE SOLID $* Dimension line pen DTERM ARROWS $* Dimension line terminator FTERM DEFAULT $* Dimension line first terminator PLCOLOUR 10 PLSTYLE SOLID $* Dimension projection line pen PJUST TOWARDS $* Dimension projection justification $* set unit dependent attributes $* check units if (!!isImperialLength('DIST')) then Tsize 3/8 CHEI 1/8in $* Text character height DOFF 1in $* Dimension offset OSHT 1/8in $* Dimension projection overshoot PLCLE 0in $* Dimension projection clearance DMSP 0in $* Dimension spacing else Tsize 10 CHEI 3mm $* Text character height © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 32
AVEVA Plant (12.1) Project Drawing Administration TM-1302 DOFF OSHT PLCLE DMSP endif
25mm 2mm 0mm 0mm
$* $* $* $*
Dimension Dimension Dimension Dimension
offset projection overshoot projection clearance spacing
$p Bottom Equipment DIM Layer Defaults return
A comment is included at the top and bottom of the file. Both will be output if the file has been successfully executed.
5.4.4.4 Creating a New Layer Purpose – A Worked Example As Draft will add a suffix letter, the Layer Purpose attribute can only be three Letters in length. In the following example a new layer purpose is created called EDI. This will be used for Equipment Dimensions i.e. will utilise the layer Defaults file DRA-EQUIP-DIMLAY created earlier. Select DIM DRA-GEN-DIMLAY from the existing definitions list. Using the Layer Purpose Definitions form, enter the following information within the fields:
Layer Purpose: EDI. Setup File: DRA-EQUIP-DIMLAY. Click the Insert button and then click the OK button.
5.4.4.5 Attributes Group
The Dim, Note, Text, Lab and Symb checkboxes allow the Administrator to specify (by checking or unchecking each box) which attribute types will be displayed on the Layer Attributes form in the User application. The combination which applies to each of the currently defined layers is shown by the + (selected) and - (unselected) codes in the scrollable list.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
33
AVEVA Plant (12.1) Project Drawing Administration TM-1302
5.4.6
Layer Creation Definitions – A Worked Example
The Layer Creation Definitions … button on the Draft System Defaults form displays the Layer Creation Definitions form. The form allows the Administrator to define a list of default layers that will be created each time a general user creates a View. The Administrator is required to specify a Layer Purpose and a Suffix to be appended to the View name, thereby setting the name of the new Layer.
In the example here, a new layer called USER_Equip_Dims has been defined using the created Layer Purpose EDI.
Click the Insert button and then click the OK button.
5.4.7 Layer Purpose Filtering – A Worked Example When selecting a particular function, i.e. Dimensioning, the toolbar menu will change to display forms/menus which relate to that particular task. This list is controlled by the settings of the Layer Purpose Filtering form. This form is opened by clicking the Layer Purpose Filtering… button on the Draft System Defaults form. The settings on this form will automatically be transferred to the list of layers that are shown.
Append EDI to the Dimensioning field.
Click the OK button.
Layer Purpose Filtering defines the Layers visible in the Layer Note drop-down list on the appropriate application menu bar.
As the defaults are stored in an external file, changes are only retained once a save has been performed on the Draft System Defaults Form.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
34
AVEVA Plant (12.1) Project Drawing Administration TM-1302
5.4.8 Sheet Sizes – A Worked Example The default sheet sizes that are offered to the general user can be set via the Sheet Defaults form. This form is opened by clicking the Sheets Sizes… button on the Draft Systems Defaults form. This form allows the Administrator to define the dimensions and display reference description for up to 15 standard sheet sizes. The description should be limited to ten characters, including spaces. Although more characters can be entered, only the first ten will be displayed on the list of possible sheet sizes offered to the user. The maximum allowable Imperial sheet size is 128.976”. The maximum metric sheet size is 3276 mm. New Drawing Sizes can be added as required, for example add the following: 216.00mm 280.00mm Letter & 841.00mm 1189.00mm P0.
5.4.9 Naming Conventions The Naming Convention form is displayed by clicking the Naming Conventions… button on the Draft System User form. The form is divided into two sections:
Mandatory Names
Mandatory names apply to those elements that must be named in order for the application to function correctly. As an example, drawing numbers are typically project related. Therefore any prefix should be entered in the Prefix box for the Drawing element. For example 1234- or DEPT- and REGI-. When any of these types of element are created, they will use the Mandatory name as part of the default name visible to the user.
Optional Names
Optional names apply to those lower–level database elements that do not need to be named for the application to function. For each such element, the Named checkbox can be used to specify whether or not a default name is to be visible to the user.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
35
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Exercise 2
Draft Administration Defaults
Using Chapter 5 as a guide, perform the following tasks: Edit file DRA-SETUP (typically C:\AVEVA\Plant\Data12.1.SP2\pdmsui\DFLTS) and check how many authorised Draft Admin Teams are present, typically: $* Set administration team global variable $* If the user is a member of one of the teams specified $* he/she is given access to the Draft Administrator Applications var !!CDSADMTEAM |MASTER DRAFTADMIN| Locate and load pre-defined User Defaults from C:\AVEVA\Plant\Training12.1\Training\pdmsui\dflts.
file
DRA-GEN-SYSTEM
within
Check the library pointer in the Draft System Defaults form name the correct elements in the hierarchy. Try Saving and Loading the Defaults file. With reference to the Chapter Worked Example and using the Draft User Application: Set up and check the application of new default names for a DEPT (DEPT-) and REGI (REGI-). Create or Modify the Drawing Department: /DEPT-EQUIPMENT-AREA01.
This may already exist if Drawing Production courses have been completed.
Create or Modify the Drawing Registry: /REGI-EQUIPMENT-AREA01.
This may already exist if Drawing Production courses have been completed.
In each instance ensure that the following attributes are set: Sheet Size:
A0
Backing Sheet Reference:
unset
All Units:
Millimeters
Font:
Arial Unicode MS
Note whether the new default standard sheet sizes are available on explicit creation of a Drawing (Create > Drawing > Explicitly…). Name the Drawing: DRWG-DRAFT_ADMIN-EXAMPLE and the Sheet: DRWG-DRAFT_ADMINEXAMPLE/S1. Confirm the extra layer setup file for dimensioning equipment is added on creation of a new unpopulated central View. Name the View: DRWG-DRAFT_ADMIN-EXAMPLE/S1/V1.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 36
CHAPTER 6
6
Drawlist Library
Considering the eventual drawing to be produced, this chapter explains how to set up Drawlist Libraries (DLLB). Each library contains a group of Drawlists (IDLI or ID Lists) which allow users to create lists of design elements to be drawn or sectioned. The DLLBs and IDLIs can be assigned to design items according to design disciplines, project areas, or any other classification appropriate to specific working practices.
Each IDLI comprises a list of Design elements, in the usual format of an Add List and a Remove List, which can all be displayed in an area view simply by reference to the IDLI name.
The DEPT TT/Project_Libraries, supplied as part of the standard product, contains a LIBY named TT/DRA/PRJ/DRAWLISTS containing sample drawlist libraries.
6.1
Entering Drawlist Library Administration Mode
To create or modify Drawlist Libraries, the Administrator is required to enter the Drawlist Administration application. From the main menu select Draft > Drawlist Libraries…. Entry to the Drawlist Administration application can be verified at the top of the application.
All menu selections specified in the remainder of this chapter refer to this Drawlist Libraries menu unless otherwise stated. www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
37
AVEVA Plant (12.1) Project Drawing Administration TM-1302
6.2
Creating a Drawlist Library
To create a new Drawlist library (DLLB), the Administrator may navigate to an appropriate LIBY or create a new LIBY. The Drawlist Library can be owned by an existing LIBY. Selecting Create > Library… from the main menu displays the Create LIBY form. The Name field allows users to enter Library names i.e. /TT/AVEVA-DRAWLISTS. Selecting Create > Drawlist Library… from the main menu displays the Create DLLB form. The Name field allows users to enter Drawlist Library names i.e. /TT/AVEVA-DRAWLISTS/AVV.
6.3
Creating and modifying a Drawlist
Selecting Create > Drawlist… from the main menu displays the Create Drawlist form. The Name field allows users to enter a Drawlist Name i.e. /TT/AVEVA-DRAWLISTS/AVV/EQUIP. Clicking the OK button displays the Drawlist Management form with the created Drawlist Library and Drawlist referenced in the appropriate fields.
The Drawlist Management form may also be displayed by selecting Modify > Drawlist… from the main menu.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
38
AVEVA Plant (12.1) Project Drawing Administration TM-1302
6.3.1 Selecting a Drawlist Library & Drawlist
With reference to the Drawlist Management form, the Drawlist Library pull-down menu allows the User to specify the Drawlist Library that owns the Drawlist (IDLI) to be modified. In turn, the Drawlist may be selected from the populated Drawlists list.
6.3.2 Creating a Drawlist
The Drawlist Management form may be utilised to create a Drawlist via the Create button; an action which displays the Create Drawlist form. As described previously with Drawlist creation via the main menu, a Drawlist name is entered and confirmed on clicking the OK button.
Alternatively, selecting Create Copy will display the Create Drawlist form and, in turn, clicking the OK button displays the Copy Drawlist form.
The Drawlist to be copied is selected from the Drawlists list and the copy confirmed on clicking the OK button.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
39
AVEVA Plant (12.1) Project Drawing Administration TM-1302
6.3.3 Deleting a Drawlist
To delete a Drawlist (IDLI) from the current Drawlist Library, the identified Drawlist is highlighted in the Drawlists list and the Delete button clicked.
6.3.4 Defining Drawlist Members
The lower part of the Drawlist Management form contains the gadgets that are used to build up the Add and Remove lists owned by each Drawlist. Selecting the required elements from the Reference List Members list and clicking the Add button adds the selection to the drawlist. Similarly, to remove items from the Drawlist i.e. items that are not to be displayed on the drawing, elements are selected via the Reference List Members list and the Remove button clicked. The Reference List Members list can show either Design Database elements or alternative existing Drawlists. The former allows the User to pick design elements explicitly; the latter allows the User to identify design elements by their presence in other Drawlists. The Design Members/Drawlists pull-down list is used to choose which list is to be displayed. Alternatively, elements can be added to the drawlist by defining a volume on clicking the Volume Defined button. All significant elements positioned partly or wholly within the current limits box will be added to the Drawlist. A Drawlist Limits form will be displayed where no volume limits are currently defined To delete an entry from the Drawlist (Add entry or Remove entry), the relevant line in the Drawlist Members list highlighted and the Delete Entry button clicked.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
40
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Exercise 3
Drawlist Library
Using Chapter 6 as a guide, complete the following tasks: Within DEPT TT/Project_Libraries, navigate to Library TT/DRA/PRJ/DRAWLISTS and create a Drawlist Library (DLLB) TT/DRA/PRJ/DRAWLISTS/AREA01. Create a new Drawlist (IDLI): TT/DRA/PRJ/DRAWLISTS/AREA01/KEYPLAN. The Drawlist contains design elements from the 3D Design Database: /ZONE-STRUCTURALAREA01, /ZONE-EQUIPMENT-AREA01 and /AREA_01_GRID. The created Drawlist will be used later in the Training for the construction of a Drawing Keyplan.
The exercise above demonstrates the ability to add Plant Design grids (GRIDSYstem and FRIDAXis elements) to an IDLI. They are drawn using the Centreline Style/Colour with the GRIDLNs extending to the View boundary. Ensure the Draft System Defaults reference the correct Library. In the User Application, and using Sheet SHEE DRWG-DRAFT_ADMIN-EXAMPLE/S1 reference the new Drawlist within the central View.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
41
AVEVA Plant (12.1) Project Drawing Administration TM-1302
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
42
CHAPTER 7
7
Sheet Libraries
Continuing the training in the context of the eventual drawing to be produced, this chapter explains how to set Sheet Libraries (SHLB) containing Backing Sheets (BACK) and Overlay Sheets (OVER). These Sheet Libraries will be referenced by the general user on creation of Drawings and Views.
The DEPT TT/Project_Libraries, supplied as part of the standard product, contains registries (REGIs) named TT/DRA/PRJ/TMP/, where discipline is Piping, Equipment, etc... Each Registry contains Drawings, which own sample sheets with associated Libraries. Within the DEPT TT/Project_Libraries, a Library named TT/DRA/PRJ/OVERS contains sample overlay sheets. Within the DEPT TT/Master_Libraries, also supplied as part of the standard product, a Library TT/DRA/MAS/BACKS contains sample backing sheets.
There is a duplicate set of these Libraries without the prefix /TT i.e./Project_Libraries and /Master_Libraries. These Departments have exactly the same information as described above but are configured using PDMS Fonts.
7.1
Entering Sheet Library Administration Mode
To be able to create or modify Backing or Overlay Sheets the Administrator enters the Sheet Library application. Select Draft > Sheet Libraries… from the main menu.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
43
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Current Layer Note
Current Backing Sheet
All menu selections specified in the remainder of this chapter refer to this Sheet Library menu unless otherwise stated.
7.1.1
Creating a Sheet Library – A Worked Example
To create a new Sheet Library (SHLB), navigate to an appropriate LIBY or create a new LIBY from the appropriate DEPT, in this case DEPT TT/Project_Libraries. Select Create > Library… from the main menu. The Create LIBY form is displayed. Enter the name /TT/AVEVA-LIBY and click the OK button.
Now, select Create > Sheet Library… from the main menu. The Create SHLB form is displayed. Enter the name /TT/AVEVA-LIBY/BACKS and click the OK button. The Sheet Library form is displayed. The SHLB is effectively a drawing sheet template, which aligns with the Backing Sheets (BACK) and Overlays (OVER) which it owns. The dimensions must be specified, either explicitly or by selecting a standard sheet size. Select A0. Click the Apply button.
The Ruleset Reference on the Sheet Library form is for member VIEWs on OLAY elements only.
Attributes can be defined at the SHLB level by clicking the Attributes… button. Attributes form is displayed.
The Sheet Library
Dismiss the Sheet Library Attributes form and the Sheet Library form.
www.aveva.com
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
44
AVEVA Plant (12.1) Project Drawing Administration TM-1302
7.1.2 Creating a Backing Sheet & Content – A Worked Example To create and display a new BACK, navigate to the appropriate SHLB level. Select Create > Backing Sheet… from the main menu to display the Create BACK form. It is recommended that the new BACK is given a name that will make the content obvious to the user. Name the BACK /TT/AVEVA-LIBY/BACKS/AVEVA-A0. Click the OK button to display the Backing Sheet form.
Click the Dismiss button.
The Backing Sheet (BACK) is a drawing sheet on which one or more NOTEs will be positioned. Each of the NOTEs may comprise any combination of 2D primitives, text primitives (TEXP) and existing symbol instances (SYMB). To create each NOTE select Create > Note > Back/Over… from the main menu to open the Create NOTE form. The Name of the Note is entered e.g. /TT/AVEVALIBY/BACKS/AVEVA-A0/SN1 and applied by clicking the OK button. Depending on the detailed design required, the Backing Sheet Note is formed using the Draw > Primitives... options, accessed via the main menu or toolbars.
It will be easier to position and align individual NOTE components i.e. primitives, text and/or symbol instances, if a working grid is displayed with a fairly small spacing (10 mm) and the snap function is set to ON.
In order to best demonstrate the workflow in creating a backing sheet, navigate to the supplied Backing Sheet BACK TT/DRA/MAS/BACKS/MET/A0 as shown by the below hierarchy:
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
45
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Using the right-click context menu Copy the NOTE TT/DRA/MAS/BACKS/MET/A0/FRAME and Paste beneath the newly created Backing Sheet. Rename the note to: TT/AVEVA-LIBY/BACKS/AVEVA-A0/FRAME. In order to see the effects of adding individual NOTEs, open a 2D View window and add the BACK to the display.
The following demonstrates the use of 2D Primitives in the forming of the Backing Sheet. Navigate to NOTE TT/AVEVA-LIBY/BACKS/AVEVA-A0/FRAME and, in turn, select the Single Straight and Text Primitives via Draw > Primitives… from the main menu or directly from the Lines and Text Toolbars.
Use the selected Primtives to create and position a ‘Notes’ title and box as shown below.
In a similar manner, navigate to the TEXP ‘REFERENCE DRAWINGS’ in the Main Display to make the text primtive the Current Element.
www.aveva.com
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
46
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Using the Modify Text form, accesed from the main menu by selecting Edit > Primitive…, alter the section title to: REFERENCE DRAWINGS & DOCUMENTS.
In order to further demonstrate the workflow in creating a backing sheet and the use of Intelligent Text and Symbols, navigate to the supplied Backing Sheet BACK TT/DRA/MAS/BACKS/MET/A0. Using the right-click context menu Copy the NOTE TT/DRA/MAS/BACKS/MET/A0/TITLE and NOTE TT/DRA/MAS/BACKS/MET/A0/LOGO and Paste beneath the newly created Backing Sheet. Rename the respective Notes to: TT/AVEVA-LIBY/BACKS/AVEVA-A0/TITLE and TT/AVEVA-LIBY/BACKS/AVEVA-A0/LOGO.
Expanding NOTE TT/AVEVA-LIBY/BACKS/AVEVA-A0/LOGO reveals a Symbol element (SYMB). In this instance the Symbol represents the AVEVA logo and is held as a Template reference: TT/DRA/MAS/BACKS/LOGO/CADC.
Using a similar reference, the Logo could be substituted for a bespoke company or customer symbol.
Expanding NOTE TT/AVEVA-LIBY/BACKS/AVEVA-A0/TITLE demonstrates the use of intelligent text within the created backing sheet to allow detail to be extracted from the database rather than being simply www.aveva.com free text. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
47
AVEVA Plant (12.1) Project Drawing Administration TM-1302 For example, and as shown below, the Drawing Title is populated upon the User defining the Drawing Title (#TITL) and Sheet Title (#TITL) during Drawing creation.
Similar Intelligent text can be applied to the Revision version information – as seen with NOTE TT/DRA/MAS/BACKS/MET/A0/REV-TEXT. The backing Sheet TT/AVEVA-LIBY/BACKS/AVEVA-A0 will now resemble the following:
7.2
Restricting the Useable area of a Sheet – A Worked Example
The Administrator is able to define the usable area of a sheet so that the area in which a user can create views does not overlap with the backing sheet annotation. This is achieved by creating a special NOTE with the suffix …/LIMITS. This NOTE should contain a single RECT primitive that corresponds to the sheet area available to a User. When the User selects the option Create > View > Pre-defined Frame… within the Draft User application, Draft searches the sheet for this special note. If the note is found, the dimensions of the rectangle primitive within it will be used set to the available area. During the creation of any Views, the limits are used to set the initial position and size of the View.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
48
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Navigate to TT/AVEVA-LIBY/BACKS/AVEVA-A0. Create a note named: /TT/AVEVA-LIBY/BACKS/AVEVA-A0/LIMITS.
Selecting Draw > Primitives… from the main menu or using the 2d Draughting Toolbar – Shapes tab, create a rectangle to define the usable area of the View.
The Note should then be turned off via the Modify Sheet Note Attributes form.
Select Modify > Note > Back/Over… from the main menu and set Visibility to Off and Apply the form.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
49
AVEVA Plant (12.1) Project Drawing Administration TM-1302
7.3
Creating an Overlay & Content – A Worked Example
An OVER is a drawing sheet on which NOTEs may be positioned using the same procedure as for a BACK. However, an OVER may also own 2D Views, typically used to display Keyplan views of all or part of the Design DB. Each View can own one or more LAYERs. Each Layer, in turn, owns VNOTEs (Layer Notes).
It will be easier to position and align individual NOTE components i.e. primitives, text and/or symbol instances, if a working grid is displayed with a fairly small spacing (say 10 mm), and the snap function is set to ON.
To create and display a new OVER, a Sheet Library is required to be created. Navigate to TT/AVEVA-LIBY and select Create > Sheet Library…. to display the Create SHLB form.
Name the SHLB /TT/AVEVA-LIBY/OVER and click OK to confirm.
On the prompted Sheet Library form set the Ruleset Reference to /TT/DRA/PRJ/REPR/GEN/BASIC. Click the Apply and Dismiss buttons to confirm.
Select Create > Overlay Sheet... to display the Create OVER form.
Name the overlay /TT/AVEVA-LIBY/OVER/KEYPLAN and click the OK button to apply.
It is recommended that the new OVER is given a name that will make the content obvious to Users.
On confirmation, the Overlay Sheet form is displayed. Set the following attributes on the Overlay Sheet form:
Width:
120.00mm
Height:
67.00mm
Ruleset Reference: /TT/DRA/PRJ/REPR/GEN/BASIC.
Click the Apply button but do not dismiss the form.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
50
AVEVA Plant (12.1) Project Drawing Administration TM-1302
7.3.1
Drawlist & Drawlist Reference
As covered in the previous Chapter, a Drawlist is required to display design graphics.
Select Drawlist Ref… on the Overlay Sheet form to display the Drawlist Reference form. Select the AREA01 Drawlist Library and List Ref: /TT/DRA/PRJ/DRAWLISTS/AREA01/ KEYPLAN Select Options As Displayed to populate the List Ref field. Selecting the Display button displays the Drawlist Contents. Select the Modify… button and ensure the following drawlist references are Displayed (as defined in previous Chapter): /ZONE-EQUIPMENT-AREA01 /ZONE-STRUCTUAL-AREA01 /AREA_01_GRID
Select the Apply and Dismiss buttons.
7.3.2 Creating Views in Overs To create a VIEW in an OVER, the Administrator may select Create > View > Limits-defined… or Create > View > User-defined… and set the View attributes. Each View can reference a Ruleset which defines the way in which the Design graphics are to be drawn. The Ruleset Reference can be set either at an individual View level, or at an OVER level, or SHLB level. As an example of this process, select Create > View > User-defined…
Enter the name /TT/AVEVA-LIBY/OVER/KEYPLAN/V1 and confirm the entry by clicking the OK button.
When the VIEW is created, a set of LAYERs are created automatically, their function and content being determined by the default settings. These layers are not required on a KEYPLAN, as layers are used to control Project Areas.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
51
AVEVA Plant (12.1) Project Drawing Administration TM-1302 With reference to the prompted User-Defined View form:
Define the View Title Drawing Keyplan.
Set the View Type from the pull-down menu to Local Hidden Line.
Define a suitable Frame Size e.g. Width X 35.00mm and Height Y 35.00mm, and set a Scale for the View via the Scale tab. Ensuring the Update Design radio is checked, Apply and Dismiss the form.
On defining an appropriate Frame Size, the View will be as shown to the left.
Depending on the detailed design required, one or more features of the View Note can be created using the Draw > Primitives… options, accessed via the main menu or toolbars.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
52
AVEVA Plant (12.1) Project Drawing Administration TM-1302 To demonstrate the use of 2D Primitives in the forming of the OVER: Create a NOTE TT/AVEVA-LIBY/OVER/KEYPLAN/GRID_REF. Select the Circle and Text Primitives via Draw > Primitives… from the main menu or directly from the Lines and Text Toolbars.
The selected Primtives can be used to define the Gridline references for Area 01:
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
53
AVEVA Plant (12.1) Project Drawing Administration TM-1302
7.3.3 Key Plan Design Areas Design areas can be indicated on the Key plan. Design Areas are stored in Layers, each layer has a VNOT containing one rectangle representing the Design Area and another rectangle called .../LIMITS containing one TEXP that holds the Design Area Limits. The TEXP is used to set the limits on the ADP system when specifying limits from the Key Plan.
The use of Design Areas is described in Chapter 15 Automatic Drawing Production (ADP).
The existing View layers are not required and can be deleted.
Navigate to the View TT/AVEVA-LIBY/OVER/KEYPLAN/V1 and delete all but one of the Layers by selecting Delete > CE from the main menu. Rename the remaining Layer to /TT/AVEVA-LIBY/OVER/KEYPLAN/V1/ALL.
Create a new VNOT and using the 2D Draughting tools and the Model Editor create the following TEXP, RECT & STRA elements:
On creation of the RECT element, Blanking may be applied by default. Blanking can be turned off via a checkbox in the attributes form. www.aveva.com
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
54
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Create a new VNOT named TT/AVEVA-LIBY/OVER/KEYPLAN/V1/ALL/LIMITS and create a new TEXP.
The TEXP contains the following text contents: From W 322000mm N 289000mm U 98800mm To W 303000mm N 311000mm U 124000mm
With the VNOT as the Current element, ensure Visibility is set to Off via Modify > Note > Layer…
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
55
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Exercise 4
Sheet Libraries
Perform the following task using the previous Chapter and Worked Example as a guide: Navigate to the created LIBY TT/AVEVA-LIBY and SHLB /TT/AVEVA-LIBY/BACKS:
Create a simple A1 Backing Sheet TT/AVEVA/LIBY/BACKS/AVEVA-A1.
Navigate to the created LIBY TT/AVEVA-LIBY and SHLB /TT/AVEVA-LIBY/OVER:
Using OVER TT/AVEVA-LIBY/OVER/KEYPLAN create a Layer for the North Area: /TT/AVEVALIBY/OVER/KEYPLAN/V1/NORTH, the limits of which are: From W 322000mm N 301140mm U 98800mm To W 303000mm N 311000mm U 124000mm
Change the Default System Settings to point to the new Sheet Libraries (SHLB).
In the User Application, open the drawing created in the previous exercise. Apply the newly created backing sheet DWG-DRAFT_ADMIN_BACK-A0.
Create an overlay for this drawing and apply the North area keyplan.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
56
CHAPTER 8
8
Symbol Libraries
Progressing with the formation of the required ‘ingredients’ for drawing production, this chapter explains how to set up Symbol Libraries (SYLB), containing the Symbol Templates (SYTM) from which users can select 2D symbols to add to drawings. Each SYTM may comprise any combination of 2D primitives, text primitives (TEXP) and existing symbol instances (SYMB).
The DEPT TT/Master_Libraries, supplied as part of the standard product, owns a REGI named TT/DRA/MAS/SYMBOLS. The LIBYs within the REGI own general symbols, electrical symbols and 2D Catalogue symbols. These symbols can be adapted as required.
8.1
Entering Symbol Library Administration Mode – A Worked Example
To be able to create or modify Symbol Libraries the Administrator is required to enter the Draft Symbol Library application. Select Draft > Symbol Libraries… from the main menu. All menu selections specified in the remainder of this chapter refer to this Symbol Library menu unless otherwise stated.
8.2
Creating a Symbol Library – A Worked Example
To create a new symbol library (SYLB), navigate to the existing Department TT/Project_Libraries. Create a new LIBY by selecting Create > Library…. The Create LIBY form is displayed.
Enter the Name /TT/AVEVA-SYMBOL-LIBY. Click the OK button to apply the Name.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
57
AVEVA Plant (12.1) Project Drawing Administration TM-1302 At the appropriate LIBY element, select Create > Symbol Library… to display the Create SYLB form:
Enter a Name /TT/AVEVA-SYMBOL/SYLB. Click the OK button to apply the Name.
The Symbol Library form is displayed on applying the SYLB name.
The SYLB is effectively a drawing sheet template, on which SYTM’s are placed. The dimensions must be specified, either explicitly or by selecting a standard sheet size. Select paper size P4.
The Symbol Library may reference a backing sheet; the required sheet is selected by using either the Reference or Filename options. If attributes are to be defined at SYLB level, such that they are inherited by the SYTM elements when created, click on the Attributes... button and change the relevant settings on the resulting form.
Attributes can be modified for individual SYTMs later if required.
Apply and Dismiss the Symbol Library Attributes form.
8.3
Creating Symbol Templates – A Worked Example
The SYTMs define the appearance of the 2D symbols Users can select and add to their drawings.
It will be easier to position and align individual NOTE components i.e. primitives, text and/or symbol instances if a working grid is displayed with a fairly small spacing (say 10 mm) and the snap function www.aveva.com is set to ON.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
58
AVEVA Plant (12.1) Project Drawing Administration TM-1302 To create a SYTM, ensure /TT/AVEVA-SYMBOL/SYLB is the current element, and select Create > Symbol Template… to display the Create SYTM form.
Enter the name /NORTH-ARROW for the SYTM. Click the OK button to apply the Name.
On applying the Name, the Point Construction Option Form will be displayed.
Position the origin of the SYTM at a convenient grid point. A marker point (MRKP) will be created to highlight the origin as illustrated below:
If the marker is to be selected when locating a primitive as the centre, the displayed marker may need to be altered to be able to select it. This can be done quickly by navigating to the marker (MRKP) and selecting Edit > Primitive…. The colour, scale and option for the marker, which can be a Star, Dot, Plus, Ring or Cross can be changed.
Depending on the detailed design required, create one or more features of the Symbol using the Draw > Primitives… options. As each feature is created, use the cursor to position it and to define the size.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
59
AVEVA Plant (12.1) Project Drawing Administration TM-1302
If the grid–snap function prevents the setting of the precise position or size required, either turn snapping off temporarily or modify the attributes of the primitive later.
When positioning the component parts of the SYTM make a note of the origin. It is also important to remember that all primitives under a SYTM will be drawn when that symbol template is selected by the end user.
When the user places SLABs using Modify mode, the leader line will be drawn to the origin of the first primitive within the SYTM.
8.3.1 Adding Annotation via a Backing Sheet When creating each SYTM, the primitives are created with respect to the SYTM origin. It is helpful to the user if this origin point is identified but it may not be desirable to have the MRKP element as part of the selectable symbol instance. There may also be a requirement to add a descriptive note to the SYTM, as displayed on the SYLB sheet, but not to be selected for display on the drawing. The solution is to position the origin marker and descriptive text on a backing sheet that is displayed with, but does not form part of, the SYLB sheet.
In the first instance it will be necessary to change back to Sheet Library administration and create a backing sheet (BACK) with the same dimensions as the SYLB sheet within the previously created Library /TT/AVEVA-LIBY/BACKS as follows.
Enter the Name: /TT/AVEVALIBY/BACKS/AVEVA-SYMBOLS. Click the OK button to apply the Name.
Enter the Paper Size P4. Select the Apply button to confirm.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
60
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Create a simple Frame and Title for the Backing Sheet. For each required group of annotations on the SYLB, create a descriptive NOTE at the appropriate point on the sheet.
On completion, switch to the Symbol Library administration mode.
Select Modify > Symbol Library… > Definition… from the main menu and set the backing sheet reference to the corresponding name of the BACK that has been created.
The completed sheet will resemble the following:
Once the symbol definition is complete, alter the System Defaults for Symbol Libraries to point at the new Symbol Library.
If necessary, the symbol template can be moved to accommodate the backing sheet. This can be achieved by making the Symbol Template (SYTM) the current element, then selecting Modify > Symbol Template from the main menu. From the Symbol Template Attribute form select a suitable option from the Position menu.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
61
AVEVA Plant (12.1) Project Drawing Administration TM-1302
8.4
2D Symbolic Representation Administration
2D Symbolic representation is cross-disciplinary functionality which allows design items to be represented symbolically in a 2D View in Draft when the Update Design process is executed. This relies on the Administrator creating appropriate symbol and/or text templates in the Draft database and setting up appropriate data structures and references in the Catalogue databases before this functionality is used.
If the Draft Administrator does not have the appropriate permissions in the Catalogue, then effective co-operation between the Draft and Catalogue Administrators will be critical for the symbolic representation functionality.
To support this functionality, additional elements a Draft Symbol Set (DRSSET) and a Draft Symbol Link (DRSYLK) have been added to the catalogue database. The DRSSET owns the DRSYLK. Design symbols can consist of geometrical elements or text or can be a combination of both, including Draft Intelligent Text hash-codes. Design symbols can be scaled and orientated as required. The 2D symbols are generated from templates stored in the Draft database. These are the Symbol Templates (SYTM) and the Text Label Templates (TXTM), used for generation of geometric elements or text elements, respectively. The Catalogue database stores the data that defines the templates to be used for a given design element, and under which circumstances it may be used. This allows several templates to be associated with a design element so that it can be represented differently in different types of Views. The representation of a light fitting, for example, could depend on both the View direction i.e. plan or elevation, and the View classification e.g. Room Design, Cabling, etc…
8.4.1 Project Structure and Distribution When symbolic representation is used in a drawing, the same Draft design symbol should be used under the same conditions across an organisation irrespective of the size. Draft design symbols will usually be held in a Draft database i.e. PADD, in a Multiple Databases (MDB) in the Master project (MAS). This Draft database will contain the templates for 2D design symbols that are referenced by the Catalogue. Thus, Draft design symbols will be made available in user projects by including a foreign reference to the MDB in the Master project. As the Draft design symbol libraries will be stored within a foreign project database, it will be the responsibility of the system/project administrator for the foreign project to distribute them globally. The AVEVA Global application only distributes databases for a given project. Thus if the master project is required at another location, then the system/project administrator must either make that a Global project or otherwise arrange for its distribution.
Use of backing sheets (BACK) should be avoided within the design symbol database since these will complicate distribution of the design symbol libraries.
8.4.2 Draft Symbol Sets – A Worked Example Draft Symbol Sets are set up in the Catalogue Database and reference the Symbol Templates and Text Label Templates stored in the Draft database. For the purpose of demonstrating the creation of Draft Symbol Sets, on performing a Savework in the Draft module, switch to the PDMS Module Paragon (Draft > Modules > Paragon...). On opening the new session in PDMS Paragon, enter the Equipment application by selecting Paragon > Equipment… from the main menu. Navigate to or create the CATA element /CATA-PROJECT/CATA.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
62
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Select Create > Section… from the main menu to display the Create Section form.
Click the OK button to accept the default name: /EQUIPMENT-DRAFT and Purpose EQUI.
Select Create > Draft Symbol Set… to create the administrative DRSSET element.
Enter the Name /AIR-COOLER-UNIT. Set the Purpose to EQUI from the pull-down list.
On clicking the OK button, the Draft Symbol Set form is displayed.
Draft Symbol Sets can own a number of Draft Symbol Links (DRSYLKs). To add a Draft Symbol Link to the list click Add. To delete a Draft Symbol Link click Delete. Selecting a DRSYLK in the list allows its attributes to be modified in the lower panel of the form. Draft Text or Symbol Templates (TXTM or SYTM elements) can be referenced by typing in their names, navigating to them in the Catalogue Explorer and clicking CE, or clicking the Search button to invoke a standard Search.
The Criteria expression determines which Draft Views the symbols will be used on. An expression can be typed into the field or an existing expression can be selected from the drop down list. Clicking on a Draft Symbol Link in the list will add the Criteria expression to the field, allowing all expressions accessed during the current session to be available.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
63
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Click Add to create a DRSYLK element and use the standard search facility to reference the 2D Symbol template representing an air cooling unit as follows:
Scale factors can be applied using the X and Y gadgets if required.
Select ALL VIEW WITH (ATTRIB PLANV) from the Criteria pull down list. The Draft Symbol Set form will be displayed.
Click Apply Changes and Close the form.
The database hierarchy will now be as follows:
The attributes of DRSYLK are as follows with a link to the Air Cooler symbol template being facilitated by the Drawing Template reference DrTmpref TT/DRA/MAS/SYMBOLS/2DCATA/AIRCOOLER/FAN.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
64
AVEVA Plant (12.1) Project Drawing Administration TM-1302
The application of 2D symbolic representation is described in Chapter 12 of the TM–1206 AVEVA Plant (12.1) Drawing Production (Advanced) training guide.
8.4.3 Non-uniformly Scaled Design Symbols Setting the X and Y scaling factors in the XYSC attribute independently on the Draft Design Symbol Link (DRSYLK) element will enable the non-uniform scaling of Design Symbols (DESSYMs). This will enable the DESSYM to be scaled to the correct size for the design element, that it is intended to replace in the Draft View, regardless of the aspect ratio of the design element.
8.4.4 Orientating Design Symbols The Draft Administrator or the symbol designer must associate the symbol template (SYTM) or text template (TXTM) with the orientation of the component in the Catalogue that the design symbol (DESSYM) will represent. This is achieved either by selecting an existing P-point on the Catalogue Component or by creating a new P-point. The value of the PPDI attribute on the SYTM or TXTM must be set to the value of the P-point Number (%NUM) attribute on the Catalogue Component. This will enable the 2D Symbology functionality to use the direction of the P-point, which is determined by the P-point direction (PTCD) attribute on the P-point element, for aligning the x-axis of the SYTM or TXTM.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
65
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Exercise 5
Symbol Libraries
Using the previous Chapter and Worked Example as a guide, complete the following tasks: Create (several) additional Symbols (SYTM’s), for example a Section Plane:
Change the Default System Settings to point to the new SYLB In the User Application, test the application of the created Symbols on the previously created Sheets.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
66
CHAPTER 9
9
Label Library Administration
A key requirement for drawing production is the use of labels; this chapter explains how to set up Label Libraries (LALB) containing the Symbol Templates (SYTM) and Text Templates (TXTM) from which users can create symbolic (SLAB) or general (GLAB) labels, respectively. Each SYTM may comprise any combination of 2D primitives, text primitives (TEXP) and existing symbol instances (SYMB). Each TXTM holds specific or ‘intelligent’ i.e. intelligent (# coded) text
The DEPT TT/Master_Libraries, supplied as part of the standard product, contains three LIBYs holding label templates, namely TT/DRA/MAS/LABELS/GEN (general labels), TT/DRA/MAS/LABELS/PRO (process labels) and TT/DRA/MAS/LABELS/ELE (electrical labels), which can be adapted as required.
9.1
Entering Label Library Administration Mode
To be able to create or modify Label Libraries the Administrator will need to enter the Draft Label Library application. Select Draft > Label Libraries… from the main menu. All menu selections specified in the remainder of this chapter refer to this Label Library menu unless otherwise stated.
9.2
Creating a Label Library – A Worked Example
To create a new label library (LALB) navigate to DEPT TT/Project_Libraries, and create a new LIBY by selecting the Create > Library… option.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
67
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The Create LIBY form is displayed.
Enter the name /TT/AVEVA-LABEL-LIBY and click OK to confirm.
At the identified LIBY element, select Create > Label Library and the Create LALB form is displayed.
Enter the name /TT/AVEVA-LABEL-LIBY/LALB1 and click OK to confirm.
The Label Library form is displayed.
The LALB is effectively a drawing sheet template, on which TXTMs and SYTMs are placed.
The dimensions must be specified, either explicitly or by selecting a standard sheet size. Select Sheet Size P4. The Label Library can reference a backing sheet. Select the required sheet by using either the Reference or Filename options. Click the Apply button and then Dismiss.
If attributes are to be defined at LALB level, such that they are inherited by the TXTM and SYTM elements when created. Click on the Attributes... button and change the relevant settings on the resulting Label Library Attributes form.
www.aveva.com These attributes can be modified for individual TXTM’s and SYTM’s later if required.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
68
AVEVA Plant (12.1) Project Drawing Administration TM-1302
9.3
Creating Symbol Templates – A Worked Example
The SYTMs define the appearance of the 2D symbols which can be referred to when creating SLABs to add to design drawings. In order to see the effects of adding individual SYTMs as the LALB contents are developed, open a 2D View window and add the LALB to the display.
It will be easier to position and align the individual parts of each SYTM if a working grid with a fairly small spacing (say 10 mm) is displayed and the snap function is set to ON.
To create a new symbol template (SYTM), select: Create > Symbol Template… to display the Create SYTM form.
Enter a name /TT/AVEVA-LABEL-LIBY/LALB1/SYTM1; then click OK to confirm.
The Point Construction Option Form is displayed. As each template is created, use the cursor to position the marker - the origin of the template.
Position the origin of the SYTM in a central location on the Sheet.
The Symbol Template is formed by 2D primitives. Select Draw > Primitives… from the main menu and create the required symbol. 2D primitives also include TEXP elements which may contain intelligent text strings.
The marker is the point that the leader line will be taken from. As each primitive is created the definition of the size may be made using the rubber banding or, if already set, via Edit > Primitive…
If the grid–snap function prevents setting the precise position or size that is required, either turn snapping off temporarily or modify the attributes of the primitive later.
When positioning the component parts of the SYTM it is important to remember where the origin is placed. It is also important to consider that all primitives under a SYTM will be drawn when that label template is selected by the end user.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
69
AVEVA Plant (12.1) Project Drawing Administration TM-1302
9.3.1 Adding Annotation via a Backing Sheet When creating each SYTM, the primitives are created with respect to the SYTM origin. It is helpful to the user if this origin point is identified but it may not be desirable to have the MRKP element as part of the selectable symbol instance. There may also be a requirement to add a descriptive note to the SYTM, as displayed on the SYLB sheet, but not to be selected for display on the drawing. The solution is to position the origin marker and descriptive text on a backing sheet that is displayed with, but does not form part of the SYLB sheet. It will be necessary to change back to Sheet Library administration and create a backing sheet (BACK) with the same dimensions as the SYLB sheet within the previously created Library /TT/AVEVA-LIBY/BACKS as follows:
Enter the Name: /TT/AVEVA-LIBY/BACKS/AVEVA-LABELS. Click the OK button to confirm
Set the Paper Size: P4
As illustrated on the following page, create a simple Frame and Title for the Backing Sheet and for each required group of annotations on the SYLB, create a descriptive NOTE at the appropriate point on the sheet. On completion, switch to the Label Library administration mode. Select Modify > Label Library… > Definition…. from the main menu. Set the backing sheet reference to the corresponding name of the BACK that has been created: /TT/AVEVA-LIBY/BACKS/AVEVA-LABELS.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
70
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The Sheet will now resemble the below:
Once the symbol definition is complete alter the System Defaults for Symbol Libraries to point at the new Symbol Library.
9.4
Creating Text Templates – A Worked Example
Unlike SYTMs, TXTMs have no members. Instead, they hold text strings to which users can refer to when creating GLABs. These text strings can include # coded ‘intelligent’ text, which is replaced by the corresponding attribute settings from the Design DB when the labels are displayed on the drawing sheets. Each TXTM automatically includes a Label Frame, although this can be switched off if it is not required. In order to see the effects of adding individual TXTMs as the LALB contents are developed, open a 2D View window and add the LALB TT/AVEVA-LABEL-LIBY/LALB1 to the display. Select Create > Text Template… to display the Create TXTM form.
Enter the Name: TT/AVEVA-LABEL-LIBY/LALB1/TXTM1. Click the OK button to confirm.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
71
AVEVA Plant (12.1) Project Drawing Administration TM-1302
The Point Construction Option Form is displayed. Position the origin of the TXTM using the cursor.
When the TXTM element has been positioned the Modify Text form will be displayed.
In considering the required text, a number of predefined intelligent text values are available to the Administrator via the Intelligent Texts… button. The subsequent Intelligent Text form allows selection of the text required by clicking either the Append or Insert button to edit the proposed label text.
The Insert option will insert the text at the current position of the cursor in the text string.
The Append option will append the text to the current displayed text string.
To save unnecessary typing, in the Modify Text form, text can be copied from an existing TXTM into the current TXTM which is being defined. Ensuring that the TXTM which is to be copied is visible in the 2D View the Copy button is selected and, when prompted, the cursor is used to identify the TXTM to be copied. The text will be inserted in the Edit window. When the required text is displayed in the Edit Window, Apply copies the string to the attribute of the TXTM.
9.5
Searching Label Libraries
When a User attempts to create a new symbolic label the application searches for a relevant LALB in a specific sequence. The application examines each LIBY in the DEPT in the listed order until it finds one which contains appropriate LALBs. The application then adds these LIBY and all subsequent LIBYs to the scrollable list on the Library form until it finds a LIBY which does not contain a relevant LALB. The above principle allows the Administrator to hide LIBYs from the user by adding them to the end of the DEPT member list. Alternatively, all reference LIBYs could be located in a separate DEPT, but this would add extra DEPTs to the user’s Members List.
It is important to note that, due to this method of searching for the LIBYs, all Label Libraries must be grouped together under the same Department if they are all to be available to the user.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
72
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Exercise 6
Label Libraries
Using the previous Chapter and Worked Example as a guide, use the Label Library /TT/AVEVA-LABELLIBY and Backing Sheet /TT/AVEVA-LIBY/BACKS/AVEVA-LABELS to complete the following tasks: Create two Label Templates using the 2D primitives and Intelligent Text. Add descriptive text for each label on the Backing Sheet. Change the default settings to point to the new library for the label creation. In the User Application, display a previously created sheet (SHEE DRWG-DRAFT_ADMIN-EXAMPLE/S1) where a Drawlist has been referenced and add the new labels to it, for example:
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
73
AVEVA Plant (12.1) Project Drawing Administration TM-1302
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
74
Chapter 10
10 Style Libraries This chapter explains how to set up Styles (STYL), within Representation Libraries (RPLB), which define the detailed representation the general user will use for various aspects of the drawing.
The DEPT TT/Project_Libraries, supplied as part of the standard product, contains several LIBYs holding examples of different styles. As explained later, these styles are used in conjunction with representation rules which will be covered in more detail in the next chapter. Any or all of these can be adapted as required.
10.1 Entering Style Library Administration Mode To be able to create or modify Style Libraries the Administrator is required to enter the Draft Style Library application. Select Draft > Style Libraries… from the main menu. All menu selections specified in the remainder of this chapter refer to this Style Library menu unless otherwise stated.
10.2 Creating a Style Library – A Worked Example Although identified as a Style Library for convenient reference, a Representation Library (RPLB) is actually created containing one or more styles (STYL). To create a new Style library (RPLB) navigate to TT/Project_Libraries and create a new LIBY by selecting the Create > Library… option.
www.aveva.com
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
75
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The Create LIBY form is displayed.
Enter the name /TT/AVEVA-STYLE-LIBY and click OK to confirm.
At the identified LIBY element, select Create > Style Library… to display the Create RPLB form.
Enter the name /TT/AVEVA-STYLE-LIBY/PIPING and click OK to confirm.
The Style Library form will then be displayed, from which the individual Styles can be created.
The upper part of the form is concerned with the creation and deletion of STYL elements within the RPLB. It contains a list of all STYLs in the current Style Library. The lower part of the form is used to set attribute values for the current STYL, that is, for the STYL which is highlighted in the list.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
76
AVEVA Plant (12.1) Project Drawing Administration TM-1302
10.3 Creating and Deleting Styles The upper part of the Style Library form shows the name of the current RPLB which is being used as a Style Library, and a list of all STYLs within it.
10.3.1 Creating a Style – A Worked Example To create a new STYL, click the Create Style button and the Create STYL form is displayed.
Enter a name for the new STYL: /TT/AVEVA-STYLE-LIBY/PIPING/STYL1. Click the OK button to confirm. The new STYL will be added to the displayed list in the Style Library form and will be highlighted as the current selection.
The attributes of the new STYL will contain the default settings shown by the gadgets in the lower part of the form and can be altered as required. Selecting the Apply button will commit the changes.
10.3.2 Deleting a Style To delete a STYL from the current library, highlight it in the displayed list and click the Delete Style button.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
77
AVEVA Plant (12.1) Project Drawing Administration TM-1302
10.3.3 Listing Style Attributes The amount of information shown in the Styles list about each STYL is controlled by the option selected from the Display drop-down list: Name
displays only the STYL name.
Gen
displays the drawing level and any linestyle and colour settings applicable to general drawings.
Pipe
displays the drawing level and any linestyle and colour settings applicable to pipework drawings.
Steel
displays the drawing level and any linestyle and colour settings applicable to steelwork drawings.
10.3.4 Setting Style Attributes The lower part of the Style Library form consists of three sets of gadgets that are used to modify the attribute settings for the currently highlighted STYL. To modify any of the attribute settings for the current STYL, the Administrator may alter the settings of the corresponding gadgets and click the Apply button.
10.3.4.1 Drawing Levels The Draw Level text box shows the Drawing Level (DLEV) setting. This attribute restricts the elements displayed using this Style to just those that include this number in their drawing level range, as set in PDMS Design.
Every primitive in the design model has an associated drawing level range attribute.
If the drawing level lies within this range, the 3D object will be drawn when it is added to the Draw List.
10.3.4.2 Assigning Colours & Styles The Styles and Colours section of the form shows the assignment of Linestyles (Standard - which may be ‘Off’ or User-defined) and colours to the six line types i.e. Frontface, Backface, etc.
Colours can either be selected from a drop-down list (initially populated with the basic 16 system-defined colours) or selected from a colour-palette when the Pick button is clicked. The colour selector gadgets will be greyed out if the linestyle is ‘Off’.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
78
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Standard Linestyles are selected from two drop-down list gadgets. The first allows ‘Off’ or one of the 10 standard system-defined line-patterns to be selected, and the second allowing one of the three standard system-defined line-widths to be selected (Thin, Medium and Thick).
If a User-defined linestyle is required the Select button is selected to prompt the User-defined Linestyles form - the adjacent checkbox should be ticked. This will cause the two Standard linestyle gadgets to be greyed out and the User-defined Linear Styles selection form to be displayed as shown. The left-hand side of the form lists all the Linestyle Tables found in the MDB. Selecting one of these causes the right-hand side to be populated with the Table’s Linestyles, from which a selection can be made.
10.3.4.3 Setting Drawing Flags The Representation Flags section of the form shows the current On/Off settings for the TUBE, PSYM, OBST, INSU, PRFG and PLFG flags: Tube
if toggled of will suppress the display of all pipes.
Piping Symbols
if toggled off will suppress the display of all piping symbols.
Obstructions
if toggled off will suppress the display of all obstructions.
Insulation
if toggled off will suppress the display of all insulation.
Profile
used for steelwork, if toggled off will suppress the display of the profiles.
P-Lines
used for steelwork, if toggled on, the steelwork will be displayed stick build.
Examples of the types of display that can be achieved by the setting of the various markers are shown in www.aveva.com Appendix B. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
79
AVEVA Plant (12.1) Project Drawing Administration TM-1302
10.3.5 Draft Line Widths The system defined line widths of Thin, Medium and Thick use a precise value in accordance with European & American ISO 128 of 0.25mm, 0.35mm and 0.7mm respectively. The definition of the Line Widths involves the use of a Line Style World (LSWL), which is visible in the PDMS Admin module:
The LSWL owns a LSWIDD element, defining a linestyle width. Each of the LSWIDD elements has an LSWidth and LSWKey attribute.
Alternative Line Width standards can be set via the Admin module. The User can query the values from Draft by entering Q LINEWIDTHS in the Command Window.
If the default standards are being used the data returned will be:
Care needs to be taken with the precision, key in prec 2 dp to achieve the correct results.
In addition, it should be noted that the widths for User Defined Linestyles are exact i.e. the precise width in mm specified be the user will be transferred directly to the export format (not applicable to Plot Files).
10.4 Creating a Hatching Library – A Worked Example Although identified as a Style Library for convenient reference, a Representation Library (RPLB) is created, containing one or more styles (STYL). To create a new Style library (RPLB) navigate to the DEPT TT/Project_Libraries and create a new LIBY by selecting the Create > Library… option. The Create LIBY form is displayed.
Enter the name /TT/AVEVA-HACTH-LIBY and click OK to confirm.
At the correct LIBY element, select Create > Hatching Library… and the Create RPLB form is displayed.
Enter the name /TT/AVEVA-HACTH-LIBY/EXAMPLE and click OK to confirm.
Although identified in the menu as a Style Library for convenient reference, a Representation Library (RPLB) is actually created, which contains one or more styles (STYL).
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
80
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The Hatching Styles form will then be displayed, from which the individual STYL can be created.
The Hatching Styles form can be considered in two stages: The upper part of the form is concerned with the creation and deletion of Hatching HSTYL elements within the RPLB. It incorporates a list of all STYLs in the current Hatching Style Library. The lower part of the form is used to set all relevant attribute values for the current HSTYL. The particular HSTYL to which these attributes belong is highlighted in the list shown in the upper portion of the form.
10.5 Creating and Deleting Hatching Styles The upper part of the Style Library form shows the name of the current RPLB which is being used as a Style Library, and a list of all HSTYLs within it.
10.5.1 Creating a Hatching Style To create a new HSTYL, the Create Style button is clicked to prompt the Create HSTYL form.
On entering a name and clicking the OK button the name is added to the displayed list and is highlighted as the current selection.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
81
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The attributes of the new STYL will have the default settings shown by the gadgets in the lower part of the form. These can be altered as required.
Naming the hatch style to represent the hatch type in the previous example we will create a yellow 45 degree hatch with a 4mm gap between hatching lines.
Select the OK Button to commit the changes.
10.5.2 Deleting a Hatching Style To delete a hatching STYL from the current library, the style is highlighted in the displayed list and the Delete Style button clicked.
10.5.3 Setting Hatching Style Attributes The lower part of the Style Library form comprises two sets of gadgets which are used to set the attribute for the currently highlighted STYL.
10.5.3.1 Hatch Pattern Colour & Style For the Hatch Pattern a colour and either a Standard fill style (which may be ‘Off’) or a User-defined fill style can be assigned.
The Colour can either be selected from a drop-down list (initially populated with the basic 16 system-defined colours) or picked from a colour-palette shown when the Pick button is clicked. The colour selector gadgets will be greyed out if the fill style is ‘Off’. The Standard fill style is selected from the drop-down list gadget. A total of thirty system-defined fill styles plus a solid-fill and Off capability are provided. A selection of hatch patterns is illustrated below:
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
82
AVEVA Plant (12.1) Project Drawing Administration TM-1302
The hatch pattern rules are available in the TT/DRA/RPJ/HSTYL/LOCAL library and are set up by the Administrator.
A Fill Style is defined by combining one or more hatch patterns. A hatch pattern can be a sequence of parallel lines all drawn with a particular line style e.g. chained, or solid-thick, at a specified angle and separation. If a User-defined fill style is required, the checkbox should be ticked. This will cause the Standard style gadget to be greyed out and the User-defined fill styles selection form to be displayed as shown below. The left-hand side of the form lists all the Fill Style Tables found in the MDB. Selecting one of these causes the right-hand side to be populated with the Table’s Fill styles from which a selection can be made.
As demonstrated by the above selection process and illustrated by the hierarchy, User-defined Fill Styles are defined in the database by FILLSTyle elements which are members of a Fill Style Table (FSTYTB). A FILLST is defined either as 'Solid Fill' or by one or more Hatch Patterns (HPATTE).
A basic Hatch Pattern is defined in terms of four parameters: Line Style (HLSTYLE) This parameter defines the style with which the hatch lines will be drawn (either system-defined or a user-defined line style). By default HLSTYLE will be set to SOLID. Angle (HANGLE) This parameter defines the slope of the hatch lines, in degrees, measured in a counter clockwise direction from the horizontal. If a value is not specified, a value of 45 will be assumed.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
83
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Separation (HSEPAR) This parameter defines the spacing between the hatch lines (measured perpendicularly). If 0 then a solid fill is achieved. If no value is given, 3mm will be assumed. Offset (HOFFSET) This parameter defines the offset of the hatch-pattern from a datum point on the Sheet and is only of use when two or more hatch-patterns are combined. If the patterns have the same angle and separation but different offsets double-line hatching can be achieved. If no value is given 0 is assumed. If the value is positive the positioning of the pattern is relative to the bottom left corner of the Sheet, if negative the positioning of the pattern is relative to some feature of the area being filled. For patterns that require the precise matching of diagonal dashes (to form triangles for instance) it will probably be necessary to define relative patterns (with negative offsets) but in general positive offsets should be used. If no value is given, 0mm will be assumed. The FILLST element also has the attributes: FSTYNO A system defined attribute that will have a unique value within the MDB. SOLFILled If set TRUE will cause the Fillstyle to provide solidfill. FUNCtion Text attribute for descriptive purposes. ALTDEF Refers to another FILLST and if set the referenced FILLST will be used on hard copy output. When the FILLST element is created a system-defined fill style number is allocated automatically. This is a unique number in the range 1-255 and is held in the FSTYNO attribute of the FILLST element. This is the number to use for the FSTYLE attribute when it is required to use that FILLST. Alternatively, it is usually more convenient to specify a name for the FILLST, and this is then used to set the FSTYLE attribute (although it is the FSTNO value that will be assigned to the FSTYLE attribute).
Having created a Fillstyle it must be defined within the graphics system by an 'UPDATE PENSTYLES' command if it is to be used during that session of DRAFT. In subsequent sessions it will be automatically defined during module entry.
In order to create more complex patterns, such as Triangles, Brickwork, etc., it is necessary to use two additional attributes of HPATTE: Line Pattern Advance (PATADV) Refers to the amount by which the pattern on each individual line is advanced. The pattern is moved by a value which accumulates from line-to-line. The lines either side of the first are offset by ± the advance value. The lines either side of these are offset by ± twice the value and so on. Line Pattern Offset (PATOFF) Refers to the amount by which the pattern of the first hatch-line is offset from its nominal start point.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
84
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Thus for example, in order to create a Fill Style to represent brickwork (with 10mm x 4mm bricks) the Administrator is required to create a suitable line style for the vertical lines and then a Fill style with 2 Hatch Patterns. With the Style World as the current element, the following may be entered in the Command Window: NEW LSTYTB NEW LINESTYLE /BrickWork-VerticalLS PATDEF 50 -50 PATREP 8mm
Creates a pattern with equal sized dashes and gaps. Sets the repeat distance to the height of 2 bricks.
NEW FSTYTB NEW FILLSTYLE /BrickWorkFS NEW HPATTERN /BrickWork-HorizontalHP HLSTYLE Solid HANGLE 0 HSEPAR 4mm HOFFSE 2mm
4mm between horizontal lines. Offsets the pattern (vertically) from its datum.
NEW HPATTERN /BrickWork-VerticalHP HLSTYLE /Brickwork-VerticalLS HANGLE 90 HSEPAR 5mm HOFFSE 3mm PATOFF 2mm PATADV 4mm
10mm long bricks require 5mm between vertical lines. Offsets the pattern (horizontally) from its datum. Offsets the pattern (vertically) from its datum. Causes the 'dash' in the vertical lines to advance by the brick height and so create the 'staggered' effect.
The application of the above can be verified through the Style Library form and the creation of a UserDefined style. The subsequent User-defined linear/fill style forms are updated to reference the new elements.
Offsetting the pattern is not strictly necessary and so attributes HOFFSE and PATOFF of both HPATTEs could be left at 0mm; it is merely done to reduce the chance of the horizontal and vertical lines coinciding with the edge of the hatched area.
10.5.3.2 Outline Colour and Style Considering the line type, a colour and either a Standard line style (which may be ‘Off’) or a User-defined line style can be assigned.
If an Outline is used, then each surface hatched will be outlined in the specific style.
10.5.3.3 Pipe Symbols The choices are ON or OFF. Choosing ON will hatch the cross-section of a pipe or HVAC duct with a piping end symbol or ducting end symbol. OFF will hatch the full cross-section of the pipe or duct.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
85
AVEVA Plant (12.1) Project Drawing Administration TM-1302
10.6 Creating a Change Style Library – A Worked Example Change style libraries are used in conjunction with date stamps to highlight design changes on the drawing. At view level, the user has the option to date stamp the view by using the Stamp Date gadget on the UserDefined View form.
Once stamped, any subsequent changes can be shown in the style specified by the Change Rules pull down menu. The user can determine whether the changes are shown by checking the Show Changes since check box. For this example, if checked the view would show part of the design in the style /TT/DRA/PRJ/REPR/ GEN/BASIC and any changes since the set date in the style /TT/DRA/PRJ/CHANGE/RULESET/GEN.
Although identified in the menus as a Style Library for convenient reference, a Change Style Library (RPLB) is actually created, which contains one or more design change styles (DCSTYL).
To create a new Change Style library (RPLB) navigate to the DEPT TT/Project_Libraries then select Create > Library… from the main menu. The Create LIBY form is displayed.
Enter the Name /TT/AVEVA_Change_Library. Click the OK button to confirm.
From the LIBY element, select Create > Change Design Library and the Create RPLB form is displayed:
Enter the Name Change_Design.
/TT/AVEVA_Change_Library/
Click the OK button to confirm.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
86
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The Change Design Library form is displayed, from which the individual DCSTYL’s can be created.
The upper part of the form is concerned with the creation and deletion of Change Design DCSTYL elements within the RPLB. It incorporates a scrollable list of all DCSTYLs in the current Change Design Style Library. The lower part of the form is used to set all relevant attribute values for the current DCSTYL. The particular DCSTYL to which these attributes belong is highlighted in the scrollable list shown in the upper portion of the form.
10.7 Creating and Deleting Change Design Styles The upper part of the Change Design Library form shows the name of the current RPLB which is being used as a Change Design Library, and a list of all DCSTYLs within it.
10.7.1 Creating a Design Change Style – A Worked Example To create a new Design Change Style (DCSTYL) click the Create Style button to display the Create DCSTYL form. Enter the Name: /TT/AVEVA_Change_Library/Change_ Design/DesignCYAN and click the OK button to confirm.
The name will be added to the displayed list and will be highlighted as the current selection. www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
87
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The attributes of the new DCSTYL will have the default settings shown by the gadgets in the lower part of the form i.e. cyan colour and defaulted line styles / hatching.
10.7.2 Deleting a Change Design Style To delete a Change Style from the current library highlight it in the Styles list and click the Delete Style button.
10.7.3 Listing Change Design Style Attributes The amount of information displayed in the Styles list about each change style is controlled by the Display scrollable list. Name displays only the DCSTYL name. Gen
displays the linestyle and colour settings applicable to changes in general drawings.
Pipe
displays the linestyle and colour settings applicable to changes in pipework drawings.
Steel
displays the linestyle and colour settings applicable to changes in steelwork drawings.
Hatch displays the style and colour settings applicable to changed areas of hatching.
10.7.4 Setting Change Design Style Attributes This section describes the use of the lower part of the Change Design Library form to modify the attribute settings for the currently highlighted DCSTYL.
To modify any of the attribute settings for the current DCSTYL, the Administrator is able to modify the settings of the corresponding gadgets and click the Apply button to confirm. The lower part of the form allows the assignment of styles and colours to: Six line types: equivalent to those of a Representation Style (STYL), and to the single line type i.e. Outline Single Hatch pattern; equivalent to those of a Hatching Style (HSTYL). © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 88
AVEVA Plant (12.1) Project Drawing Administration TM-1302 For the eight sections, a colour and either a Standard style or a User-defined style can be modified. In addition a colour may also be set to ‘Unchanged’ and a style to ‘Unchanged’ or ‘Off’. Colours can either be selected from a drop-down list (initially populated with the basic 16 system-defined colours and the ‘Unchanged’ option) or picked from a colour-palette shown when the Pick button is clicked. The colour selector gadgets will be greyed out if the Style is ‘Off’. Standard Linestyles are selected from two drop-down list gadgets. The first allows the selection of ‘Unchanged’ or ‘Off’, or one of the 10 standard system-defined line-patterns. The second allows one of the three standard system-defined line-widths to be selected. The Standard fillstyle is selected from the drop-down list gadget. A total of thirty system-defined fill styles plus a solid-fill, unchanged and Off capability are provided. If a User-defined fill style is required, the checkbox should be ticked. This will cause the Standard style gadget to be greyed out and the User-defined fill styles selection form to be displayed as shown below. The left-hand side of the form lists all the Fill Style Tables found in the MDB. Selecting one of these populates the right-hand of the form with the Table’s Fill styles from which a selection can be made.
Selecting a style from the form and clicking the Select button will add the style to the Change Design Library form and check the box. The standard style gadgets will be greyed out unless the box is unchecked.
10.8 Creating a Annotation Change Style Library – A Worked Example To create a new Annotation Change Style library (RPLB) navigate to the DEPT TT/Project_Libraries and create a new LIBY by selecting Create > Library… from the main menu. The Create LIBY form is displayed: Enter the name /TT/AVEVA_Change_Anno_Library and click the OK button to confirm.
From the LIBY element, select Create > Change Annotation Library… to display the Create RPLB form.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
89
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Enter the Name: /TT/AVEVA_Change_Anno_Library/Change_Design. Click the OK button to confirm.
Although identified in the menus as a Style Library for convenient reference, a Change Annotation Style Library (RPLB) is actually created, which contains one or more annotation change styles (ACSTYL).
The Change Annotation Library form is displayed, from which the individual ACSTYL’s can be created
The upper part of the form is concerned with the creation and deletion of Change Annotation ACSTYL elements within the RPLB. It contains a list of all ACSTYLs in the current Change Annotation Style Library. The lower part of the form is used to set all relevant attribute values for the current ACSTYL highlighted in the upper part of the form. Although identified in the menus as a Style Library for convenient reference, a Change Annotation Style Library (RPLB) is actually created, which contains one or more annotation change styles (ACSTYL).
10.9 Creating and Deleting Annotation Change Styles The upper part of the Change Annotation Library form shows the name of the current RPLB which is being used as a Change Annotation Library, and a list of all ACSTYLs within it.
10.9.1 Creating a Annotation Change Style – A Worked Example To create a new Annotation Change Style (ACSTYL) select the Create Style button. The Create ACSTYL form will be displayed. Enter the Name: /TT/AVEVA_Change_Anno_Library/Change_Design/ACSTYL1 Click the OK button to confirm. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 90
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The name will be added to the Styles list and will be highlighted as the current selection. The attributes of the new ACSTYL will have the default settings shown by the gadgets in the lower part of the form.
10.9.2 Deleting a Annotation Change Style To delete a Change Style from the current library highlight it in the Styles list and click the Delete Style button.
10.9.3 Listing Style Attributes The amount of information displayed in the Styles list about each change style is controlled by the Display scrollable list. Name
displays only the ACSTYL name.
Gen
displays the linestyle and colour settings applicable to changes in general drawings.
Hatch
displays the style and colour settings applicable to changed areas of hatching.
Style
displays the font and other changes made to mark changes in text strings.
10.9.4 Setting Change Style Attributes This Section describes the use of the lower parts of the Change Annotation Library form to modify the attribute settings for the currently highlighted ACSTYL.
The lower part of the Change Annotation Library form consists of sets of gadgets that allow the attribute settings for the currently highlighted ACSTYL to be modified. To modify any of the attribute settings for the current ACSTYL, change the settings of the corresponding gadgets and click the Apply button. Colours can either be selected from a drop-down list (initially populated with the basic 16 system-defined colours and the ‘Unchanged’ option) or picked from a colour-palette shown when the Pick button is clicked. Standard linestyles are selected from 2 drop-down list gadgets. The first allowing ‘Unchanged’ or one of the 10 standard system defined line-patterns to be selected, and the second allowing one of the three standard system-defined line-widths to be selected. Standard fill styles are selected from the drop-down list gadget. A total of 30 standard system-defined fill styles are provided as well as ‘Unchanged’ and ‘Solid Fill’. If a User-defined fill style is required, the checkbox should be ticked. This will cause the Standard style gadget to be greyed out and the User-defined fill styles selection form to be displayed. The left-hand side of the form lists all the Fill Style Tables found in the MDB. Selecting one of these populates the right-hand side with the Table’s Fill styles from which a selection can be made. www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
91
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Selecting a style from the form and clicking the Select button will add the style to the Change Annotation Library form and check the box. The standard style gadgets will be greyed out unless the box is unchecked. Annotation Text has separate gadgets that are used to allow the specific colour and font to be defined in a similar manner to those methods already discussed. The Representation Flags section contains two additional gadgets for defining how changed text is presented Underline
if checked all changed annotation text is underlined.
Brackets
A scrollable list to determine how change annotation text is presented.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
92
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Exercise 7
Style Libraries
Using the previous Chapter as a guide, complete the following tasks within DEPT TT/Project_Libraries: Create a new Library /TT/AVEVA-Ex-Style-Library and a new Style Library /TT/AVEVA-Ex-StyleLibrary/Piping Create a number of styles, some examples are shown below: Style for Pipe: Drawing Level 6 and Front Face Pen Yellow.
Style for Equip: Drawing Level 6 and Front Face Pen Red.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
93
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Create a Hatching Library /TT/AVEVA-EX-Style-Library/Hatch. Create a number of Hatching Styles; some examples are shown below: Hatch Colour Yellow, and Style 45 degree.
Hatch Colour Red, and Style 30 degree with an Outline.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
94
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Create a Change Design Library /TT/AVEVA-Ex-Style-Library/Change. Create a number of Change Design Styles; some examples are shown below: DesRed, all pens set to Red.
DesCyan, all pens set to Cyan.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
95
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Create an Annotation Change Library /TT/AVEVA-Ex-Style-Library/Anno. Create a number of Change Annotation Styles; some examples are shown below: All pens Red.
All pens Green.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
96
Chapter 11
11 Representation Rules
This chapter explains how to set up the following: Representation Rulesets (RRST) and Representation Rules (RRUL). These define the appearance of the design elements on the drawing. Rulesets (RRST) are created within a Representation Library and own Representation Rules (RRUL) which reference a style (STYL). Hatching Rule Sets (HRST) and Hatching Rules (HRUL). These define how model faces created by section planes, and surfaces of specified design primitives are hatched. Hatching Rulesets (HRST) are created within a Representation Library and own Hatching Rules (HRST) which reference a hatching style (HSTYL). Change Rulesets (CRST), Design Change Rules (DCRULE) Annotation Change Rules (ACRULE). These define the appearance of design elements and annotation that has changed on the drawing. Change Rule Sets (CRST) are created within a Representation Library and own Design Change Rules (DCRULE) and Annotation Change Rules (ACRULE), which reference Design Change Styles (DCSTYL) and Annotation Changes Styles (ACSTYL) respectively.
Views can also own local HRULs and local RRULs. The View HRSF attribute will be set to point to a HRST, and the HSTYF attribute of the HRULs owned by the View should be set to point to HSTYLs, in the same way as HRULs are owned directly by HRST.
The available local HRULs and local RRULs are set in the Draft System Defaults form. The DEPT TT/Project_Libraries, supplied as part of the standard product, contains a LIBY named TT/DRA/PRJ/REPR, which holds sample representation rule libraries.
www.aveva.com 97 © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Plant (12.1) Project Drawing Administration TM-1302
11.1
Entering Style Library Administration Mode
To be able to create or modify Representation Rules the Administrator is required to enter the Representation Rules application by selecting Draft > Representation Rules… from the main menu. All menu selections specified in the remainder of this chapter refer to this Representation Rules menu unless otherwise stated.
11.2
Creating a Representation Library – A Worked Example
To create a new Representation Library (RPLB), navigate to the appropriate LIBY or create a new LIBY. The Representation Library can be owned by an existing LIBY which already owns a Style Library.
The STYLs which the user can reference from a given RRUL must be owned by the same LIBY.
To create a new LIBY select Create > Library… with DEPT TT/Project_Libraries as the current element. The Create LIBY form is displayed.
Enter the Name /TT/AVEVA/ReprRules and click the OK button to confirm.
Select Create > Representation Library… and the Create RPLB form is displayed:
Enter the Name: /TT/AVEVA/ReprRules/Rep-Piping and click the OK button to confirm.
The Create RRST form is displayed.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
98
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Enter the Name /TT/AVEVA/ReprRules/Rep-Piping/Piping and click the OK button.
The Representation Rules form will be displayed.
The created Rule Set will be populated by a Representation Rule in the final Chapter Exercise.
11.3
Creating and Deleting Representation Rules
The Representation Rules form has two parts: The upper part of the form is for the creation and deletion of RRULs within a RRST. The RRUL can also be restricted to a specific class of elements. The current Representation Library is also displayed, to switch to another RPLB, navigate to the required RPLB and click on the CE button. The lower part of the form displays a list of all the currently defined STYLs. Any STYL can be selected to be referenced by the current RRUL. The Rule Sets drop-down list allows you to switch to any RRST owned by the current RPLB. The Rules list shows all RRULs in the current RRST or None if the RRST has just been created.
Where a Rule Set contains a number of Rules that have conditions that are not mutually exclusive, the Rule that is first in list order takes precedence over the other rules.
11.3.1 Creating a Rule To create a new RRUL, the Create button on the Representation Rules form is clicked to prompt the Create RRUL form. A Name is entered and confirmed on clicking the OK button. The RRUL is added to the list and will be highlighted as the current selection. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 99
AVEVA Plant (12.1) Project Drawing Administration TM-1302
11.3.2 Deleting a Rule To delete a RRUL from the current RRST, it may be highlighted in the Rules list and the Delete button clicked on the Representation Rules form.
11.3.3 Specifying the Elements to which Rules Apply The type of element or a list of named elements can be specified to which the rule applies. To specify the type of element select the option as shown and select the type from the pull-down menu.
To specify named elements to which the current RRUL is to be applied, the Administrator clicks the Modify button. The Names form is displayed allowing the Administrator to select individual elements from the Members list to add to the Names list. Clicking the OK button adds the names to the Representation Rules form. To apply qualifying restrictions to the elements specified in the For section of the form, an expression can be entered in the With text box. For example, if the For gadget specifies Branches, the expression (HBOR GT 100) could be used.
The current rule would then be applied to Branches with HBOR greater than 100mm.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
100
AVEVA Plant (12.1) Project Drawing Administration TM-1302
11.3.4 Associating Representation Rules with Styles The text adjacent to the Style checkbox shows the name of the STYL (if set) that is referenced by the current RRUL. The Styles in the current LIBY are displayed as shown. To associate a RRUL with a STYL, select the RPLB from the Styles pull down. The STYLs owned by the selected RPLB will be displayed. Select the STYL from the list and click the Apply button to create the association.
The amount of information shown in the list can be changed by selecting from the Display scrollable list.
11.4
Name
displays only the STYL name
Gen
displays the linestyle and colour settings
Pipe
displays the linestyle and colour settings
Steel
displays the linestyle and colour settings
Creating a Hatching Library – A Worked Example
To create a new Hatching Library (RPLB) navigate to DEPT TT/Project_Libraries then select Create > Library… from the main menu. The Create LIBY form is displayed.
Enter the Name /TT/AVEVA-HATCH_HRST-LBY and click the OK button to confirm.
From the LIBY element, select Create > Hatching Library.... The Create RPLB form is displayed:
Enter the Name /TT/AVEVA-HATCH_HRST-LBY/Hatching and click the OK button to confirm.
The Create HRST form will be displayed.
Enter the Name: /TT/AVEVA-HATCH_HRST-LBY/Hatching/ HatchRule and click the OK button to confirm.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
101
AVEVA Plant (12.1) Project Drawing Administration TM-1302
The Hatching Representation Rules form will be displayed.
11.5
Creating and Deleting Hatching Rules – A Worked Example
The Hatching Representation Rules form has two parts: The upper part of the form is for the creation and deletion of HRULs within a HRST. The HRUL can also be restricted to a specific class of elements. The current Representation Library is also displayed, to switch to another RPLB, navigate to the required RPLB and click on the CE button. The lower part of the form displays a list of all the currently defined HSTYLs. Any HSTYL can be selected to be referenced by the current HRUL. The Rule Sets drop-down list allows the user to switch to any HRST owned by the current RPLB. The Rules list shows all HRULs in the current HRST or None if the HRST has just been created.
11.5.1 Creating a Rule To create a new HRUL, click the Create button on the Hatching Representation Rules form to display the Create HRUL form.
Enter the Name: /TT/AVEVA-HATCH_HRST-LBY/Hatching/ HatchRule/RUL1 and confirm by clicking the OK button.
The HRUL will be added to the list and will be highlighted as the current selection.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 102
AVEVA Plant (12.1) Project Drawing Administration TM-1302
11.5.2 Deleting a Rule To delete a HRUL from the current HRST, the Administrator highlights the Rule in the Rules list and clicks the Delete button.
11.5.3 Specifying the Elements to which Rules Apply The type of element or a list of named elements can be specified to which the rule applies in the For section of the form. To specify the type of element select the radio button as shown and select the type from the scrollable list.
To specify named elements to which the current HRUL is to be applied, click the Modify button. The Names form will be displayed allowing the Administrator to select individual elements from the Members list to add to the Names list. Add the Design Member ZONE-PIPING-AREA01 and Click the OK button to add the design element to the Hatching Representation Rules form.
To apply qualifying restrictions to the elements specified in the For section of the form, an expression can be entered in the With text box. For example, if the For gadget specifies Branches, the expression (HBOR GT 100) could be used.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
103
AVEVA Plant (12.1) Project Drawing Administration TM-1302
11.5.4 Associating Hatching Representation Rules with Hatching Styles The Style indicates the name of the HSTYL (if set) that is referenced by the current HRUL.
The Styles in the current LIBY are displayed as shown. To associate a HRUL with a HSTYL, select the RPLB from the Styles pull down. The HSTYLs owned by the selected RPLB will be displayed. Select the HSTYL from the list and click the Apply button to create the association. The current HSTYL representation will also be displayed. The example references a Style created in Exercise 7: /TT/AVEVA-EX-Style-Library/Hatch/Yellow-45. Click on the Attributes button to display the Hatching Rules Attributes form.
The Hatching Rule Attributes form allows more control over which surfaces of an element are to be hatched. Clicking the Plot button on the Hatching Rule Attributes form will display the Hatching Rule Attributes Plot form which provides an illustration of the available settings.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
104
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The Consider pull-down has two options: Only Sectioned Surfaces: only surfaces cut by a section plane. All primitive Surfaces: element does not need to be cut by a section plane to be hatched. The Rule can be further refined by the Hatching radio buttons: All surfaces in all directions Only surfaces perpendicular to the view direction Only surfaces facing in a specified direction The Direction and Derived gadgets are active when Only Surfaces Facing in a Specified Direction is chosen.
11.6
Creating a Change Rule Library – A Worked Example
To create a new Change Rule Library (RPLB navigate to the DEPT TT/Project_Libraries and create a new LIBY, by selecting Create > Library… from the main menu. The Create LIBY form is displayed.
Enter the Name: /TT/AVEVA-CRule-Library and click the OK button to confirm.
From the LIBY, select Create > Change Library… to display the Create RPLB form.
Enter the Name: /TT/AVEVA-CRule-Library/Change and click the OK button to confirm.
To create a change rule set, select Create > Change Ruleset… to display the Create CRST form.
Enter the Name: /TT/AVEVA-CRule-Library/Change/CRST1 and click the OK button.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
105
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The Change Representation Rules form will be displayed.
11.7
Creating and Deleting Change Rules – A Worked Example
The Change Representation Rules form has two parts: The upper part of the form is for the creation and deletion of ACRULEs and DCRULEs within a CRST. The DCRULE can also be restricted to a specific class of elements. The current RPLB is also displayed. To switch to another RPLB, navigate to the required RPLB and click on the CE button. The lower part of the form displays a list of all the currently defined ACSTYLs and DCSTYLs. Any ACSTYL or DCSTYL can be selected to be referenced by the current ACRULE or DCRULE. The scrollable list allows the Administrator to switch to any CRST owned by the current RPLB. The Rules list shows all ACRULEs and DCRULEs in the current CRST or None if the CRST has just been created.
11.7.1 Creating a Rule To create a new ACRULE or DCRULE the Administrator selects Anno or Desi, from the Create pull-down menu to prompt the Create DCRULE / ACRULE form.
Select Desi from the pull-down list to create a DCRULE.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
106
AVEVA Plant (12.1) Project Drawing Administration TM-1302
On prompting the Create DCRULE form, enter the Name: /TT/AVEVA-CRule-Library/Change/CRST1/DCRULE1 and click the OK button to confirm.
The name will be added to the list and will be highlighted as the current selection.
11.7.2 Deleting a Rule To delete an ACRULE or DCRUEL from the current CRST, the Administrator must highlight the Rule in the Rules list and click the Delete button.
11.7.3 Specifying the Elements to which Design Change Rules Apply The type of element or a list of named elements can be specified to which the rule applies in the For section of the form.
To specify the type of element, select from the pull-down list. Select Branch Members.
Click the Add button to add the element to the form. The Remove and Clear buttons remove the current highlighted item or clear all of the elements respectively.
11.7.4 Specifying the Annotation to which Annotation Rules Apply Where an ASCULE is being formed, the Administrator is able to select the annotation type to which the rules apply from the scrollable list.
11.7.5 Applying Restrictions for Design Change Rules Design Change Rules use Selection Criteria to define the changed design elements to which the rule is to apply. The Selection Criterion utilise one of the functions that make use of the current Comparison Date. These are POSITIONED, CREATED and MODIFIED. For example: CRIT ALL SCTN WITH (MODIFIED (LENGTH)) CRIT ALL EQUI WITH (CREATED ()) CRIT ALL WITH (CREATED ()) Enter the following selection criteria in the With field on the Change Representation Rules form: (MODIFIED (GEOM))
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 107
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Open the Attributes form for the DCRULE using the right-click context menu from the Draft Explorer. Note the Criteria Attribute: (ALL BRANCH MEMBERS) WITH (MODIFIED (GEOM)).
11.7.6 Associating Change Representation Rules with Change Styles The Style indicates the name of the ACSTYL or DCSTYL (if set) that is referenced by the current ACRULE or DCRULE. The Styles in the current LIBY are displayed as shown. To associate an ACRULE or DCRULE with an ACSTYL or DCSTYL, select the RPLB from the Styles pull down. The ACSTYLs or DCSTYLs owned by the selected RPLB will be displayed. Select the DCSTYL /TT/AVEVA_Change_Library/Change_Design/Design-RED from the list. Click the Apply button to create the association.
The current style representation will also be displayed.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
108
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Exercise 8
Representation Rules
Navigate to /TT/AVEVA-CRule-Library and create a task specific library (RPLB) for the following Rule Sets (RRST) and Rules.
Remember to give the elements a meaningful name. Create a Representation Rule Set which contains a number of Rules which reference the styles created in the Exercise 7.
In the User Application, display a previously created sheet (SHEE DRWG-DRAFT_ADMINEXAMPLE/S1) where a Drawlist has been referenced and change the defaults to allow the use of these new rules. www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
109
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Create a Hatching Rule for hatching equipment which reference the style created in the Exercise 7.
In the User Application, display a previously created sheet (SHEE DRWG-DRAFT_ADMINEXAMPLE/S1) where a Drawlist has been referenced and change the defaults to allow the use of these new rules. Remember that section planes will be required to test the Hatching Rules.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
110
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Create Change Rules for Design and Annotation Creation and Modification.
In the User Application, display a previously created sheet (SHEE DRWG-DRAFT_ADMINEXAMPLE/S1) where a Drawlist has been referenced and change the defaults to allow the use of these new rules. Remember that section planes will be required to test the Change Rules.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
111
AVEVA Plant (12.1) Project Drawing Administration TM-1302
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
112
CHAPTER 12
12 Tag Rule Libraries This chapter explains how to set up Tag Rule Sets (TRST) and Tag Rules (TAGR), within Tag Rule Libraries (TRLB). When accessed during normal Draft drawing operations, each TAGR references a Tagging Template, which may be either a SYTM or a TXTM. Tag rules determine which items will be tagged in the View graphics.
The DEPT TT/Project_Libraries, supplied as part of the standard product, contains a LIBY named TT/DRA/PRJ/AUTOTAG, which holds sample tag rule libraries for various disciplines.
12.1 Entering Auto Tagging Administration Mode To be able to create or modify Tag Rules the Administrator is required to enter the Tag Rules application by selecting Draft > Tagging Rules… from the main menu. All menu selections specified in the remainder of this chapter refer to this Tagging Rules Administration menu unless otherwise stated.
12.2 Creating a Tag Rule Library – A Worked Example To create a new Tag Rule Library (TRLB) navigate to the DEPT TT/Project_Libraries and create a new LIBY, by selecting Create > Library… from the main menu.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
113
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The Create LIBY form is displayed. Enter the Name: /TT/AVEVA-TAGRULES-LIBY and click the OK button to confirm.
Selecting Create > Tagrule Library… displays the Create TRLB form.
Enter the Name /TT/AVEVA-TAGRULES-LIBY/PIPING and click the OK button to confirm.
The Tagging Library form is displayed; allowing an Administrator to define Tag Rulesets (TRST) and Tagrules (TAGR).
The upper part of the form is concerned with the creation and deletion of Tag Rulesets within a TRLB. The lower part of the form is used to create Tagrules to define the types of elements to which they are applied, and to set references to the templates which control the format of the associated tags.
12.3 Creating and Deleting Tag Rule Sets The upper part of the Tagging Library form displays the name of the current LIBY. The pull down list will display all the TRLB elements owned by the current library. All the TRST elements within the selected TRLB will be displayed.
12.3.1 Creating a Tag Rule Set – A Worked Example To create a new TRST, click the Create Ruleset button on the Tagging Library form. The Create TRST form is displayed. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 114
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Enter the Name /TT/AVEVA-TAGRULES-LIBY/PIPING/GA and click the OK button to confirm
The name will be added to the Tag Ruleset list on the Tagging Library form and will be highlighted as the current selection.
12.3.2 Deleting a Tag Rule Set To delete a TRST from the current TRLB, the Administrator must highlight the TRST it in the Tag Ruleset List and click the Delete Ruleset button.
12.4 Creating and Setting Up Tag Rules The following describes the creation and definition of Tag Rules with reference to the Tagging Library form.
12.4.1 Viewing Tag Rules The Rule drop-down list displays a list of all TAGRs in the current TRST i.e. the TRST highlighted in the Tag Ruleset list. It is also used to change the current TAGR if the attribute settings are to be modified.
12.4.2 Specifying the Elements to which Rules Apply The type of element or a list of named elements can be specified to which the rule applies. To specify the type of element to which the current TAGR is to be applied, select a design element class from the Tag drop-down list.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
115
AVEVA Plant (12.1) Project Drawing Administration TM-1302
12.4.3 Creating a Tag Rule – A Worked Example The attribute values for the newly created TAGR are defined by the current settings of the other gadgets on the form e.g. Tag, With, Template Reference, etc. To create a new TAGR, select the element to be tagged: Branches and click the Create Rule button. The TAGR will be named automatically and its name will be added to the Rule list as the current selection as shown below.
Tag Rules are always named automatically when they are created. The name cannot be modified.
12.4.4 Deleting a Tag Rule To delete a TAGR from the current TRST, the TAGR is identified as the current element, by using the Rule pull-down list and the Delete Rule button clicked.
12.4.5 Criteria for Tag Rule Application – A Worked Example To apply restrictions to the elements specified by the Tag option, a PDMS expression is entered into the With text box. For example, if the Tag gadget specifies Branches, an expression specific to branch elements is entered.
Enter (HBOR GT 100) AND (TBOR GT 80) in the With field.
The current Tag Rule will apply to all branches with a Head Bore greater than 100mm and a Tail Bore greater than 80mm.
12.4.6 Associating a Label Template with a Tag Rule – A Worked Example In order to be able to select the desired reference, the correct Tagging Template Library must be set on the Draft System Defaults form, in this case /TT/AVEVA-LABEL-LIBY.
To select a label template that will define the appearance of tags generated by the current TAGR, the Select… button adjacent to the Template Reference section of the Tagging Library form may be used.
The Select Template for Auto Tagging form will be displayed.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
116
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Select the Label Library required from the pulldown menu, in this case: /TT/AVEVA-LABELLIBY/LALB1.
Click the Select button before indicating the template to be associated with the current TAGR: /TT/AVEVA/LABEL/LIBY/LALB1/SYTM1
Clicking the OK button adds the selected template to the Tagging Library form.
12.4.7 Associating a Drawlist with a Tag Rule To specify a drawlist which is to be associated with the current TAGR (such that only items in the drawlist will be tagged), the Drawlist Ref… button on the Tagging Library form is selected. The Drawlist Reference form will be displayed.
Selecting As Displayed from the Options pull-down displays the relevant Drawlist Library and, in turn, the available Drawlists the Administrator may select to be associated with the current TAGR.www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
117
AVEVA Plant (12.1) Project Drawing Administration TM-1302 To modify the content of the drawlist associated with the current TAGR, click the Drawlist button. The Drawlist Management form will be displayed.
On this form, select the Drawlist whose member list is to be modified and add or remove design elements. On selecting the Apply button, these changes apply to the current TAGR.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
118
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Exercise 9
Tag Rules
Using the previous Chapter and Worked Example as a guide: Create a New Library /TT/AVEVA-TAGRULES_EX-LIBY and Tag Rule Library /TT/AVEVATAGRULES_EX-LIBY/PIPING Create (several) new Tag Rule Sets (TRST) and Tag Rules (TAGR) which may be setup to tag any elements. Try using the different templates which have been supplied, this will require the setting of the Tagging Templates library on the defaults form.
Consider Tagging Nozzles with name and Bore and Structural Sections with the Spref. In the User Application, display a previously created sheet (SHEE DRWG-DRAFT_ADMINEXAMPLE/S1) where a Drawlist has been referenced and change the defaults to allow the use of the Tag Library and Rules. The following is an example of Tagging Equipment:
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
119
AVEVA Plant (12.1) Project Drawing Administration TM-1302
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
120
CHAPTER 13
13 Database Updates There are occasions when the DRAFT database needs to be updated specifically, as opposed to the routine updating that occurs from time to time in normal use. This chapter explains when and how this should be done by the Draft Administrator.
13.1 Updating Picture Files This operation should be carried out to recover from a corrupt picture file, such as may result from a Reconfigure operation, or if an attempt has been made to display a VIEW created using a previous version of Draft. Annotation graphics will always be restored but Design graphics may not be. In all such cases, a message alert will be displayed instructing you to carry out the update operation. This is the only time that the operation should be carried out. Select Graphics > System Update > Picture from the main menu bar.
13.2 Updating Template Instancing This option (valid at SHEE, BACK, OVER, SYLB or LALB level, or above) scans the database hierarchy and updates all those parts of picture files that use the graphics ‘instancing’ mechanism. For example, a SYMB is an ‘instance’ of a SYTM. OLAY and BACK elements are in the same category. This update should be used to generate the correct graphics after the LIBNO NEW option has been used in RECONFIGURER. Select Graphics > System Update > Instances from the main menu bar.
13.3 Updating Cross-DB Reference Attributes This option updates all Draft element attributes that refer to elements in the Design database. The settings of such attributes exist as database reference numbers. The updating function operates on the current element.
It should only be used if the Design database has been deleted and rebuilt from macros.
Select Graphics > System Update > Refs from the main menu bar.
13.4 Updating Cross-DB Name Attributes Draft elements with attributes that refer to elements in the Design database, the settings of which exist as database reference numbers, also have (hidden) text attributes set to the names of the referenced elements. This option updates the latter attributes, using the settings of the associated reference attributes. The updating function operates on the current element.
It should only be used if the Design database has been deleted and rebuilt from macros.
Select Graphics > System Update > Names from the Administration menu.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
121
AVEVA Plant (12.1) Project Drawing Administration TM-1302
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
122
CHAPTER 14
14 Plotting and Printing Options
Within Draft the Administrator can enter or select operating system command strings that enable users to plot files in a variety of formats. Traditionally PDMS has produced a pseudo plot file that is then converted to a format that the plotter could understand typically HPGL2, or Postscript. This method of plotting has been progressively deprecated since PDMS (12 Series) following the introduction of True Type Fonts. The old style plot format will not support new features. If a drawing has True Type Fonts this information is not passed to the Plot File. PDMS supports output formats such as PDF, BMP and JPG - it is widely expected the customers will use ™ the Adobe PDF format. However, for completeness and to support existing plotting methods all the plot options are discussed here. To select or enter output formats, select Settings > Plotting Defaults… from the main Draft Administration menu. The Plotting Options form will be displayed.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
123
AVEVA Plant (12.1) Project Drawing Administration TM-1302
14.1 AVEVA-Plot Service The AVEVA-Plot Service is accessed via Utilities > Plot CE… and runs as a background process. It can be used to plot to a windows plotter.
The AVEVA-Plot Service can be seen in the task bar.
The PDMS Plot Service can also be used to select and print pseudo plot files.
This method is also used in Design for printing Piping Isometrics.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
124
AVEVA Plant (12.1) Project Drawing Administration TM-1302
14.3 PlotViewer PlotViewer can be used to send a pseudo plot to direct the plot file directly to a default printer. Example: Plotviewer /p FILE PlotViewer
the PlotViewer program is executed with the following arguments.
/p
runs Plot Viewer in plot-only mode and hence sends the plot file directly to the default printer.
FILE
this word will be replaced by the plot file name
Please note that the Plot Viewer program does not print at a true 100% scale, and therefore the print will be slightly smaller. PlotViewer does not support changing line thickness.
14.4 Plotting using Plot This Plotting Options form contains predefined command strings for PostScript and HPGL format conversion and printing. For PostScript and HPGL options, make sure that a proper Windows network path to the chosen printer is provided. The System command string has several components to it. Example: plotcadc FILE ps \printserver\psprint01. plotcadc
This is the name of the batch file PLOTCADC.BAT and uses the parameters supplied in the rest of the system command string to specify the printing or other actions to be performed. This batch file uses the Plot Utility Program to perform the plot file conversions and the Windows print command to send them to a printer. This batch file is run when either of the Plot + File or Plot options are applied in the form shown after using the Utilities > Plot CE command.
ILE
A plot file is created when a drawing sheet is to be output. When the system command string is executed, the location of this file plot file replaces the word ‘FILE’.
ps
This results in a conversion from the PDMS plot file format to a form compatible with a postscript plotter. This file type for the plotter corresponds to a Plot Utility Program driver name.
\printserver\psprint01 This is an example Windows network name of the destination printer.
Plotcadc, by default, uses the PLOT program to convert the PDMS pseudo plot file to a format that the printer can understand. Using Plot you can customise or write your own drivers bases on a limited set of supported formats typically HPGL, HPGL2, Calcomp or Postscript.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
125
AVEVA Plant (12.1) Project Drawing Administration TM-1302
14.4.2 Example HPGL2 soft driver with Pen Thickness Support Plot Soft Drivers are held in a file called PLOTDRIVERS. The following is an example that has two HPGL2 drivers, one in Colour and one in Black & White. # # HPGL 2 Color Softdriver # hpgl2-color|hpgl2| ,\ HIGH, MAP, ARC 120, DEKI 0.001 Y Y, ECUTTER Y,\ PENS SAME, PENS ATTR,\ ATTR 1 1 SOLID THICK 0.18,\ ATTR 2 2 SOLID THICK 0.25,\ ATTR 3 3 SOLID THICK 0.35,\ ATTR 4 4 SOLID THICK 0.5,\ ATTR 5 5 SOLID THICK 0.7,\ ATTR 6 6 SOLID THICK 1.0,\ ATTR 7 7 SOLID THICK 1.4,\ ATTR 8 8 SOLID THICK 1.8,\ ATTR 9 9 SOLID THICK 2.0,\ ATTR 10 10 SOLID THICK 2.5,\ ATTR 11 11 SOLID THICK 3.5,\ ATTR 12 12 SOLID THICK 5.0,\ RGB 1 0 0 0,\ RGB 2 1 0 0,\ RGB 3 0.93 0.6 0,\ RGB 4 1 1 0,\ RGB 5 0 1 0,\ RGB 6 0 1 1,\ RGB 7 0 0 0.8,\ RGB 8 1 0 1,\ RGB 9 0.8 0.17 0.17,\ RGB 10 1 1 1,\ RGB 11 0.8 0.57 0.62,\ RGB 12 0.4 0 0.6,\ RGB 13 0 0.75 0.80,\ RGB 14 0.2 0 0.4,\ RGB 15 0 0 0,\ RGB 16 0.87 0 0.87,\ RGB 17 1 0.5 0,\ RGB 18 0 0.5 1,\ RGB 19 0.8 0 0.2,\ RGB 20 0.5 0.75 1,\ RGB 21 0 0.6 0,\ RGB 22 0 0.8 0.2,\ RGB 23 1 0 0.25,\ RGB 24 0.5 1 0.75,\ RGB 25 0 0.5 0.25,\ RGB 26 0.5 0.25 0.31,\ RGB 27 0.8 0.4 0,\
# # HPGL 2 Black and White Softdriver # hpgl2-bw|hpgl2| PW 0.0 0.7, CE N,ADJUST,\ MAP, ARC 120, DEKI 0.001 Y Y, ECUTTER Y,\ RGB 1 0 0 0,\ RGB 2 0 0 0,\ RGB 3 0 0 0,\ RGB 4 0 0 0,\ RGB 5 0 0 0,\ RGB 6 0 0 0,\ RGB 7 0 0 0,\ RGB 8 0 0 0,\ RGB 9 0 0 0,\ RGB 10 0 0 0,\ RGB 11 0 0 0,\ RGB 12 0 0 0,\ RGB 12 0 0 0,\ RGB 13 0 0 0,\ RGB 14 0 0 0,\ HIGH,PENS ATTR,\ ATTR 1 1 SOLID THICK 0.18,\ ATTR 2 2 SOLID THICK 0.25,\ ATTR 3 3 SOLID THICK 0.35,\ ATTR 4 4 SOLID THICK 0.5,\ ATTR 5 5 SOLID THICK 0.7,\ ATTR 6 6 SOLID THICK 1.0,\ ATTR 7 7 SOLID THICK 1.4,\ ATTR 8 8 SOLID THICK 1.8,\ ATTR 9 8 SOLID THICK 2.0,\ ATTR 10 10 SOLID THICK 2.5,\ ATTR 11 11 SOLID THICK 3.5,\ ATTR 12 12 SOLID THICK 5.0,\
The location of the PLOTDRIVERS file is specified by the variable CADC_PLOT_DIR. Typically the following line would be placed in the PDMS batch file. Set CADC_PLOT_DIR=C:\AVEVA\Plant\PDMS12.1.SP2\plot. A typical command line for the Black and White Driver would be: plotcadc FILE hpgl2-bw \printserver\psprint01.
Refer to the PLOT User GUIDE for more details.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
126
AVEVA Plant (12.1) Project Drawing Administration TM-1302
14.6 Other Output Formats The Other Documents option on the Plotting Options form creates a graphical file; for example a PDF file, representing the given picture instead of printing it.
The available output formats are shown.
The Plotting Options form supports previewing the output instead of printing. Clicking the Configure viewers button displays the Configuration of external viewers form where a command string can be entered for each file type that will launch an appropriate viewer.
The viewing of the PDF files is handled internally by launching the Acrobat Reader application, which must be installed on the workstation. There are no configuration options for the PDF files. For all other supported file types it is possible to specify the command to be executed in order to view a particular file. If you leave the command field empty, or containing the text 'Not specified – default Windows action used', the handling of the particular file type will be determined by the Windows operating system. The action taken will be exactly the same as if you double clicked on the file in Windows Explorer. If a non-default action is required, the proper command line must be provided, using the word FILE to represent the full file path of the file to be shown. For example in order to view BMP files in Microsoft Paint, the following command should be entered in the BMP files (*.bmp) field: mspaint "FILE" To view the JPG files in Irfanview (provided that it is installed in C:\Program Files\Irfanview), the following command should be entered in the JPG files (*.jpg) field: "C:\Program Files\Irfanview\iview32.exe" "FILE" /fs
After changing the viewers' configuration remember to save the plotting options in the main form, as the viewers' settings are stored together with the plotting options.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
127
AVEVA Plant (12.1) Project Drawing Administration TM-1302
14.7 Other Plotting Options The output colour can be controlled by selecting one of the Colour correction mode options. Standard
retains the colours as defined in the database.
Black & White
changes all colours to black or white to contrast with the background colour.
Grayscale
converts all colours to an equivalent shade of grey.
Colour Plus
converts all shades of grey to black or white to contrast with the background colour.
The changes are saved on clicking the Save button.
14.8 Saving Plot Options Once all of the plotting options have been set, select the option to be set as the default by clicking on the appropriate option button at the left of the Plotting Options form Save
used to save the settings.
Load
used to recall the saved settings.
Load Defaults
used to load the predefined plotting settings.
Reset
used to cancel any changes made to the form since it was opened.
14.9 Print From the application menu selecting Utilities > Print CE… uses the standard Windows printing dialog for printing the selected sheet as shown:
This sends the picture directly to the printer without creating an intermediate plot file.
Exercise 10
Plot Options
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
128
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Using Chapter 14 as a guide, perform the following tasks: Navigate to sheet SHEE DRWG-DRAFT_ADMIN-EXAMPLE/S1 and display a PDF file of the Sheet. ™
Configure the BMP external Viewer to display the file using Microsoft Paint .
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
129
AVEVA Plant (12.1) Project Drawing Administration TM-1302
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
130
CHAPTER 15
15 Automatic Drawing Production (ADP) Administration This chapter explains what the Draft Administrator must do to set up a project to allow Automatic Drawing Production (ADP) for Pipework and Steelwork.
Draft provides the following types of Automatic Drawing Production (ADP). General ADP for Equipment and Piping. Pipe Sketches. HVAC Sketches. Hangers and Supports Drawings – information for Hangers and Supports ADP is given in the Pipe Support Design User Guide. Steelwork Detailing.
ADP administration is accessed through the Automatic Drawing Production Application, and not through the Administration Application. The forms and menu options are only available if the User is a member of the DRAFTADMIN team.
In the User application, select Draft > Automatic Drawing Production… from the main menu.
15.1 General ADP The General ADP options creates drawings from specified parts of the Design, and adds annotation www.aveva.com according to Defaults set up by the System Administrator. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
131
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The defaults are stored in files, and there are different defaults suitable for different types of drawings. The user must load a suitable file for the drawing being produced. The ADP application can add dimensions, labels, and schedules to a drawing. It can also add graphical information such as equipment centrelines and pipe end symbols. The ADP application recognises different types of dimensions:
Type 1
dimensions for pipework.
Type 2
dimensions for equipment centres.
Type 3
dimensions for gridlines.
The way in which each type of dimension is displayed can be controlled. The order in which types of dimensions are generated can be specified and for each type, rules can be setup using PML expressions to define how different drawing element types are dimensioned.
15.2 Setting the ADP Defaults – A Worked Example The ADP Defaults are set on the ADP Defaults File Editor form, which is displayed when selecting Settings > General ADP Defaults… from the main ADP menu.
There are several defaults files supplied with the product, located in the directory %PDMSDFLTS% e.g. C:\AVEVA\Plant\Data12.1.SP2\pdmsui\DFLTS The file names are of the form DRA-GENADP -* These files can be modified, and new files created.
Default files are loaded by selecting File > Load From… on the ADP Defaults File Editor form. A file browser is displayed allowing the required file to be selected. The form buttons are explained below: Browse
displays a file browser.
From View
a prompt is displayed to identify any element in required View. The default file used to create the view will be loaded.
Reload
reloads the current default macro.
When a defaults file is loaded, the ADP Defaults File Editor form will be populated with details from the file. File Header
displays the description of the default file.
Type 1
in the supplied files Type 1 is piping.
Type 2
in the supplied files Type 2 is equipment.
Type 3
in the supplied files Type 3 is gridline.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 132
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Following the workflow described, select the file: dra-genadp-piping. Change the file Header to Basic Piping GA Training, and using the form option File > Save As… save the file as dra-genadp-piping-training. Cancel and reload the defaults using File>Load From… and selecting dra-genadp-piping-training.
Not all dimensions types are used in default files, when a type is not used in the current default file, the type is shown as unused.
15.3 Type 1 Annotation (Pipe) – A Worked Example To change a type of dimensioning, click the appropriate Type button on the ADP Defaults File Editor form. In this instance, click the Type 1 … button to display the Type 1 Defaults – Piping form.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
133
AVEVA Plant (12.1) Project Drawing Administration TM-1302 When the Generate Type 1 Annotation check box is selected, the annotations specified on the form will be generated and shown on the drawing.
There are several elements to the Type 1 Defaults – Piping form; these will be described in the forthcoming sections.
15.3.1 General Settings
In the General Settings section of the form the following options are set: Dimension Offset: This is the distance between the dimension line and view boundary. Copy Dim Point from Type(s): Determines how inherited dimension points are handled, by specifying which Type they are copied from the processing order must ensure that the dimension points to be copied already exist.
Dimension & Projection Lines / Project Lines Only: This option is a choice of displaying the dimension line with the required projection lines or displaying only projection lines. The latter may be used in conjunction with the use of co-ordinates. Display Pipe End Symbol: If this check box is selected then the Pipe End Symbol will be created. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 134
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Pipework Elevations: The elevations can be shown for the Centreline or Bottom of Pipe. Alternatively the elevation may be switched Off. Coordinates: If this checkbox is selected, the coordinate information will be added to the projection line text. Elevation Output Format +/- Notation: If this checkbox is selected, +/- format will be used for elevations information. If it is not selected, ENU format will be used instead. Label Branches Once Only: If this check box is selected, each Branch that is dimensioned will only display one projection line text entry. If it is not selected, every dimension point will have the name added to its projection line resulting in multiple instances of the name. Branches NOT Crossing view sides: This option controls how branches wholly within view will be dimensioned i.e. whether the dimension will be to the First Member Only, Last Member Only, First & Last Members or No Dimensions at all.
15.3.2 Layer Purpose This section handles the Layer Purpose settings. Layer definitions are created as normal using Draft Administration.
These purpose settings specify the layer where the annotation will be located.
15.3.3 Dimension Rules For each dimension type, Dimension Rules can be defined using PML expressions to define how different drawing element types are dimensioned.
The options on the pull-down list are used to manipulate the Rule entries.
Change the Type to BRAN with a Rule of PURP OF ZONE EQ ‘PIPE’
Existing Rules can be removed by using the Replace / Cut options within the pull-down described www.aveva.com above.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
135
AVEVA Plant (12.1) Project Drawing Administration TM-1302
15.3.4 Projection Line Text Settings The Projection Line Text Settings area defines the text, or intelligent text, to be added to the projection lines in Draft using the following options:
Pltx Entry: Intelligent text string to be used for projection line text.
Bottom Of Pipe Prefix: Prefix text for Bottom of Pipe elevations.
Centre Line Prefix: Prefix text for Centre Line elevations.
Working Point Prefix: Prefix text for Working Point elevations. Working Points are generated for sloping lines. Elevation and coordinates are shown where the line intersects with the relevant View boundary.
Once the settings have been made on the Type 1 Defaults – Piping form, click the OK button.
15.3.5 Checking Pipe Zone Settings for Type 1 Annotation The Dimension Rules being used above requires the Purpose attribute of the piping zone to set to PIPE.
Select Display > Explorers > Design Explorer from the main menu.
Navigate to the Piping Zone: /ZONE-PIPING-AREA01
Select Query > Attributes… or select Attributes… via the right click context menu with the identified Zone as the CE. Check that the Zone Purpose is set to PIPE.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
136
AVEVA Plant (12.1) Project Drawing Administration TM-1302
15.4 Type 2 Annotation (Equipment) – A Worked Example To change the defaults for Equipment dimensioning, click the Type 2 … button on the ADP Defaults File Editor form. The Type 2 Defaults – Equipment form is displayed as shown:
When the Generate Type 2 Annotation check box is selected, the annotations specified on the form will be generated and shown on the drawing.
There are several elements to the Type 2 Defaults - Equipment form; these will be described in the forthcoming sections.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
137
AVEVA Plant (12.1) Project Drawing Administration TM-1302
15.4.1 General Settings
In the General Settings section of the form the following options are set: Dimension Offset: This is the distance between the dimension line and view boundary. Copy Dim Point from Type(s): Determines how inherited dimension points are handled, by specifying which Type they are copied from the processing order must ensure that the dimension points to be copied already exist Dimension & Projection Lines / Project Lines Only: This option is a choice of displaying the dimension line with the required projection lines or displaying only projection lines. The latter may be used in conjunction with the use of coordinates. Co-ordinates: If the checkbox is selected, co-ordinates are displayed on the projection lines. Equipment Centrelines: If the checkbox is selected, equipment centre lines will be displayed on the projection text.
15.4.2 Layer Purpose This section handles the Layer Purpose settings. Layer definitions are created as normal using Draft Administration. Layer Purposes are used to specify the layer where the annotation will be located.
15.4.3 Dimension Rules For each dimension type, Dimension Rules can be defined using PML expressions to define how different drawing element types are dimensioned. The options on the pull-down list are used to manipulate the Rule entries. Change the Type to EQUI with a Rule of PURP OF ZONE EQ ‘EQUI’.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
138
AVEVA Plant (12.1) Project Drawing Administration TM-1302
15.4.4 Projection Line Text Rules For projection lines, Project Line Text Rules can be defined using PML expressions to define the projection line text for specific design elements. Change the Rule to TYPE EQ 'EQUI' AND PURP OF ZONE EQ 'EQUI' with a Pltx of #NAME(C2:). Once the settings have been made on the Type 2 Defaults – Equipment form click the OK button
15.4.5 Checking Equipment Zone Settings for Type 2 Annotation As described with Type 1 Annotation for piping, the Dimension Rules being used here require the Purpose attribute of the equipment zone to be set to EQUI. Check the Purpose for ZONE-EQUIPMENT-AREA01 following the methodology described previously.
15.5 Type 3 Annotation (Gridlines) – A Worked Example To change the defaults for Gridlines, click the Type 3 … button on the ADP Defaults File Editor form. The Type 3 Defaults – Gridline form is displayed as shown:
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
139
AVEVA Plant (12.1) Project Drawing Administration TM-1302 When the Generate Type 3 Annotation check box is selected, the annotations specified on the form will be generated and shown on the drawing.
There are several elements to the Type 3 Defaults - Gridline form.
15.5.1 General Settings
In the General Settings section of the form the following options are set: Dimension Offset: This is the distance between the dimension line and view boundary. Copy Dim Point from Type(s): Determines how inherited dimension points are handled, by specifying which Type they are copied from the processing order must ensure that the dimension points to be copied already exist. In this case there is no need to specify a Dimensioning type as a base. For Type1 and Type 2 defaults, Type 3 has been specified as a base.
15.5.2 Layer Purposes This section handles the Layer Purpose settings. Layer definitions are created as normal using Draft Administration.
Layer Purposes are used to specify the layer where the annotation will be located:
15.5.3 Dimension Rules For each dimension type, Dimension Rules can be defined using PML expressions to define how different drawing element types are dimensioned.
The options on the pull-down list are used to manipulate the Rule entries.
Change the Type to SCTN with a Rule of Description eq ‘GRIDLINE COLUMN’.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
140
AVEVA Plant (12.1) Project Drawing Administration TM-1302
15.5.4 ‘X/Y–Axis’ Projection Line Text Rules The gadgets in these sections of the form allow the Administrator to specify rules controlling the content of projection line text. As with Dimension Rules in the last section, these Rules must be supplied for ADP to work. The Rule field defines the attribute to be checked. For the examples below only section type elements will be considered. The Pltx field states the text that will be used for the projection lines, which may be constructed from Intelligent Text, plain text or a combination of both.
For the ‘X-Axis’ change the Rule to TYPE EQ 'HPANEL' with a Pltx of #FUNC(P2:2)(C2:).
For the ‘Y-Axis’ change the Rule to TYPE EQ 'HPANEL' with a Pltx of #FUNC(P1:1).
Once the settings have been made on the Type 3 Defaults – Gridline form click the OK button.
15.5.5 Checking Steelwork Settings for Type 3 Annotation The Gridline Dimension Rules being used above requires that the DESCription of the Gridline Column is set to GRIDLINE COLUMN and that the FUNCtion of the column is set to the Gridline Reference Number in the format A-1,A-2, A-3 ….. G-1, G-2 G-3 etc…
The training data has been created to reflect the above requirements and user modification is not required.
15.6 General ADP Defaults The ADP Defaults - General form is displayed by selecting the General… button on the ADP Defaults File Editor form.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
141
AVEVA Plant (12.1) Project Drawing Administration TM-1302
When the Restrict USER access check box is selected, users will not be able to access the Modify User Defaults form plus the Modify and Edit button on the Modify User Defaults form will not be active. The Annotation Processing Order text box dictates the order in which different types of annotation are to be processed.
15.6.1 Representation The Representation section of the form is used to add any representation Rulesets.
To add a Ruleset navigate to it in the Draft Explorer and click the CE button. If the standard representation Rulesets are required, the text box should contain the text Standard.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
142
AVEVA Plant (12.1) Project Drawing Administration TM-1302
15.6.2 Add / Remove Volume Drawlist Rules These sections of the form create rules needed to control which elements are added or removed from Drawlists defined by a volume. In the example below, all elements within the Volume will be added, but elements of type PIPE that are owned by a Zone with Function set to ‘Heating’ or ‘Electrical’ will be removed.
Once the settings have been made on the ADP Defaults – General form click the OK button.
15.7
Schedules
Selecting the Schedule… button on the ADP Defaults File Editor form displays the ADP Defaults – Schedules form.
This form is used to set the Tag Rule Library and Default Schedule.
15.8
Tagging – A Worked Example
Selecting the Tagging… button on the ADP Defaults File Editor form displays the ADP Defaults – Tagging form.
This form is used to set the Tag Rule Library and Default Tag Ruleset.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
143
AVEVA Plant (12.1) Project Drawing Administration TM-1302
15.8.1 Changing the Tagging Rule Library
The Tag Rule Library can be changed by navigating to the required library in the Draft Explorer:
/TT/AVEVA/TAGRULESLIBY/PIPING and clicking the CE button.
Similarly, the Default Tag Ruleset is set by navigating to the required Ruleset: /TT/AVEVA-TAGRULES-LIBY/PIPING/GA and clicking the CE button. Use the Replace option to add the rule. Once the settings have been made on the ADP Defaults – Tagging form, click the OK button. On the ADP Defaults File Editor form, select File > Save to save all the changes that have been made.
15.9 Creating a Tagging Library The tagging facilities used in ADP are based on the standard Draft automatic tagging functionality. The ADP PGA defaults file contains an entry to allow the Administrator to define what Tag Ruleset element will be available to the user during use of the ADP system. The supplied system refers to a TRLB named /TT/DRA/PRJ/ADP/TAGGS/PGA. This library contains the TRST’s available to the user on the tagging creation form.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
144
AVEVA Plant (12.1) Project Drawing Administration TM-1302
To open the Tagging Library it will be necessary to return to the Tagging Administration application.
In order to create additional TRLB elements for tagging, simply create the TRSTs and their TAGR elements with tag rules and tagging templates as required. An important consideration for the ADP system is that the last part of the TRSTs name is used on the user’s form, and so this should be descriptive of the tagging available to the user. For example, if the TRST is named /MYTAG/Instruments, then Instruments will appear on the user tagging creation form. Some example tagging templates are provided in the label libraries. /TT/DRA/PRJ/ADP/TAGGS/TXTM
/TT/DRA/PRJ/ADP/TAGGS/SYTM
These are examples and it is expected that additional symbol and text templates will be required.
15.10 Creating a Schedule Library – A Worked Example The schedule facilities used in ADP are based on the standard Draft automatic tagging functionality. The ADP PGA defaults file contains an entry to allow the Administrator to define what Tag Ruleset element will be available to the User during use of the ADP system. The supplied system refers to a TRLB called /TT/DRA/PRJ/ADP/SCHED/PGA that contains the TRSTs that the user accesses on the schedule creation form. Each TRST is represented by a toggle and modify button gadget group on the user’s form.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
145
AVEVA Plant (12.1) Project Drawing Administration TM-1302 When creating TRLB elements for schedules and any number of TRST elements, each of which represents an available schedule for use by the user, the naming convention shown must be followed.
A TAGR /LOCAL rule can reference any STYM or TXTM as required. This tag rule is for generating the tags local to the design graphics.
A TAGR /ENTRY rule references a special SYTM which in turn has references to other SYTMs and is used for generating the tabular format entries generated as part of the schedule. In order to generate a matching set of local and table tags it is important that both TAGRs have the same criteria. The SYTM referenced by the TAGR /ENTRY has an associated set of SYTMs as shown below, where prefix can be any prefix name for the SYTMs, but the same prefix is used to identify all three SYTMs required to construct the schedules table. The example shown is based on the Project Libraries supplied in the Sample Project, in the library TT/DRA/PRJ/ADP/SCHED.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
146
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The functions of the three schedule table SYTMs are explained below
prefix/ENTRY – the SYTM used to create the table entries
prefix/HEADER – the SYTM used to construct the table header
prefix/OFFSET – the SYTM used to determine the offset of the table entry with respect to the previous
The SYTM prefix/OFFSET contains a single TEXP; the BTEX value determines how each table entry is positioned with respect to the previous. The BTEX simple states the OFFSET for each table entry in the standard X and Y format. For example, X 0 Y -6.
This means each table entry is offset by -6mm in the Y direction, therefore producing a vertical table that grows down the sheet from the origin position. The origin and extent positions for any schedules created are initially taken from a special note created in the BACK by the administrator. See the next section for details of how to implement this.
15.10.1 Creating a New Schedule To be able to create a new Schedule, the Administrator is required to enter the Label Library application by selecting Draft > Label Libraries… from the main menu. To create a new Library for the Schedules, navigate to the DEPT TT/Project_Libraries and create a new LIBY, by selecting: Create > Library… The Create LIBY form is displayed. Enter a Name: /TT/AVEVA-SCHEDULES and click the OK button to confirm.
Selecting Create > Label Library… displays the Create LALB form.
Enter the Name /TT/AVEVASCHEDULES/PIPING and click the OK button to confirm.
On the subsequent Label Library form set the Paper Size to P4.
Create a Symbol Template by selecting Create > Symbol Template… from the main menu.
www.aveva.com
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
147
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Name the SYTM: /TT/AVEVA-SCHEDULES/PIPING/EQUIPMENT/HEADER. Click OK to confirm.
The Marker should be positioned at the bottom left corner of the Header.
Using a 10mm grid draw the Schedule Header using lines and text as shown below.
Create a Symbol Template by selecting: Create > Symbol Template… from the main menu.
Name the SYTM: /TT/AVEVA-SCHEDULES/PIPING/EQUIPMENT/ENTRY. Click OK to confirm.
The Marker should be positioned at the top left corner of the Header.
Using a 10mm Grid Draw the Schedule entry line using lines and intelligent text as shown below.
Create a Symbol Template by selecting the Create > Symbol Template… option. Name the SYTM: /TT/AVEVA-SCHEDULES/PIPING/EQUIPMENT/OFFSET. The Marker should be positioned at the top left corner of the Header.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
148
AVEVA Plant (12.1) Project Drawing Administration TM-1302 In this template create one TEXP containing the text X 0mm Y -10mm.
15.10.2 Creating a New Tagging Rule In Draft Administration, select Draft > Tagging Rules… and navigate to the /TT/AVEVA-SCHEDULES Library. Create a new LIBY, by selecting: Create > Tag Rule Library… from the main menu.
Enter the Name: /TT/AVEVA-SCHEDULES/Piping. Click OK to confirm.
Lower case letters are used in this case to avoid a naming conflict.
Click the Create Ruleset button.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
149
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The Create TRST form is prompted. Name the Ruleset: /TT/AVEVA-SCHEDULES/Piping/Equipment_1. Click OK to confirm.
Select Tag Equipments and click the Create Rule button. Key in the With setting of purp of zone eq 'EQUI’.
Click the Apply button on the Tagging library form. Select Settings > System Defaults … from the main menu. On the Draft System Defaults form set the Tagging Templates to /TT/AVEVA-LABEL-LIBY.
Set the Template Reference on the Tagging Library form to /TT/AVEVA-LABEL-LIBY/LAB1/SYTM using the Select… button. Click the Apply button on the Tagging Library form.
Note you may need to change the Tagging Template settings in the System Defaults/AVEVA-LABELLIBY.
Change the Tagging Template settings in the Draft System Defaults form to /TT/AVEVA-SCHEDULES.
www.aveva.com
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
150
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Repeat the process creating a rule called: /TT/AVEVA-SCHEDULES/Piping/Equipment_1/EQUIPMENT-2. Use this rule to Tag Equipments. Enter the following in the With setting field: purp of zone eq ‘EQUI’. Set the Template Reference to /TT/AVEVA-SCHEDULES/PIPING/EQUIPMENT/ENTRY.
The above process creates a tagging rule set with two tag rules as follows:
/TT/AVEVA-SCHEDULES/Piping/Equipment_1/EQUIPMENT-1 will need to be renamed to /TT/AVEVASCHEDULES/Piping/Equipment_1/LOCAL. /TT/AVEVA-SCHEDULES/Piping/Equipment_1/EQUIPMENT-2 will need to be renamed to /TT/AVEVASCHEDULES/Piping/Equipment_1/ENTRY. This can be done by selecting the right mouse button context sensitive menu over the element in the Design Explorer and clicking the Rename option.
15.10.3 Set and save the ADP Defaults From the Draft ADP application, select Settings > General ADP Defaults… from the main menu.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
151
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Browse to the previously created file: dra-genadp-piping-training.
Click the Schedule… button.
Navigate to the new Tag Library and Default Schedule setting the values using the CE button in both cases.
Tag Rule Library: /TT/AVEVA-SCHEDULES/Piping. Default Schedule: /TT/AVEVA-SCHEDULES/Piping/Equipment_1.
Select File > Save from the ADP Defaults File Editor form.
15.11 Backing Sheet Controls The backing sheet referenced by an ADP sheet can contain two sets of information to allow the ADP annotation and view creation to be more automated. The following sections describe the types of additional information that can be generated under a BACK for use by the ADP system. The general ADP application makes use of special information stored on the backing sheet in the form of Notes, which specify where certain types of annotation generated by ADP will be located on the sheet. If this information is not present on the backing sheet the application will either prompt the user for input or not allow the user access to the associated automatic annotation options. All the Notes have visibility set to false.
15.11.1 Reference Drawings This is the area on the Sheet that is available for the user to insert a list of Reference Drawings. It is defined under a Note named /REFDRWGS. The Note contains TEXP elements that are used to represent reference drawings associated with a sheet.
www.aveva.com
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
152
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Each TEXP should be positioned and have attributes set as required. The TEXP is copied from the backing sheet onto the user’s sheet during reference drawing definition.
The Note will contain as many TEXPs as required. Each of the TEXP elements will be used to automatically redefine the entry fields on the Reference Drawing form. The TEXP is copied from the backing sheet onto the user's sheet during reference drawing definition. The Note should also contain a rectangle whose area represents the available area taken by the reference drawing texts, which is used during zoom operations. This rectangle represents the available area taken by the reference drawing texts. To ensure that the rectangle is not shown on the drawing, set the LVIS attribute of the owning NOTE to FALSE.
15.11.2 Sheet Limits This is the area available on the backing sheet where the View will be created. It is defined under a Note named /LIMITS. The Note should contain just one RECT element whose limits correspond to the available free space on the BACK. The LVIS of the NOTE should be set to FALSE in order to inhibit the display of the rectangle on the user’s sheet.
15.11.3 Schedules This is the area on the Sheet that will be used to display Schedules. The origin of the schedule table and its maximum extent is defined on the backing sheet. Only one origin and extent definition can be added to a BACK and this is initially used by ALL schedules that are created by the user. The User always has the option to re-define the two attributes for any schedule created. The ORIGIN and EXTENT information gives www.aveva.com the application a starting point for any schedules. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
153
AVEVA Plant (12.1) Project Drawing Administration TM-1302
To create the ORIGIN and EXTENT positions on the backing sheet the Administrator creates a NOTE under the required BACK with the name /SCHEDULE. The note should contain two MRKP elements named /SCHEDULE/ORIGIN and /SCHEDULE/EXTENT. The MRKP element defines the origin of the schedule. The MRKP defining the extent of the schedule should be positioned at a point past which the schedule should not be built. All subsequent schedule entries that would exceed this extent position are hidden and the user is warned of the schedule overflow.
15.11.4 Keyplan This is the area on the Sheet that will be used to display a Keyplan. It is defined under a Note named /KEYPLAN. This note should contain one MRKP element to determine the position for the Sheet’s Keyplan OLAY. The MRKP must be named /KEYPLAN/ORIGIN.
15.11.5 Title This is the area on the Sheet that will be used to display the title block of the backing sheet. It is defined under a Note named /TITLE. The Note can contain 2D primitives to define the geometry of the Title Block. The Note should have a Rectangle (the first primitive in the list, or first Rectangle in the list) with NLSTYLE set to OFF, whose area will define the area occupied by the title block. This is used during zoom operations.
15.11.1 Logo
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
154
AVEVA Plant (12.1) Project Drawing Administration TM-1302
The NOTE named /LOGO contains a reference to the company logo. This is controlled by a SYMB with Tmrf pointing to SYTM that holds all the 2D primitives required to complete the template’s definition.
15.11.2 Frame
The NOTE named /FRAME contains all the 2D primitives that fully define the backing sheet. The information contained by LOGO could be included under this note as well.
15.11.3 Summary The following summarises the special Notes that can exist on the backing sheets, more details are given below. Name
Use
Action if not present
/REFDRWGS
Reference drawing information
GUI gadgets inactivated
/LIMITS
Defines available sheet area
Whole sheet area assumed
/SCHEDULE
Defines schedule position info
User prompted for position
/KEYPLAN
Position for Keyplan OLAY
Positioned at X0 Y0
/TITLE
Area for zooming on title block
GUI gadgets inactivated
/LOGO
Holds Company Logo
/FRAME
Backing Sheet Detail
Refer to the standard A0 backing sheet /TT/DRA/MAS/BACKS/MET/A0, located in the Department /TT/Master_Libraries, as an example.
15.12 Steelwork Detailing ADP This Section describes the administration tasks which need to be completed for Steelwork Detailing Automatic Drawing Production (SDA), to allow the Draft User to produce dimensioned and annotated drawings of the most commonly used structural elements (straight Beams and Columns, and flat Plates) automatically. The requirements for Steelwork Detailing ADP are: A Sheet Library containing the required backing sheets. A Symbol Library containing the required annotation symbols. A Style Library containing the required styles.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
155
AVEVA Plant (12.1) Project Drawing Administration TM-1302 A Representation Rules Library containing rules defining which Styles are used for displaying the profiles. One or more SDAOPT elements, which define the SDA defaults that will initially be displayed on the SDAOPT form. The backing sheets and SDAOPT elements supplied with the product are in the Department /TT/Master_Libraries. The backing sheets in the Library /TT/DRA/MAS/BACKS can be used for SDA. The Library /TT/DRA/MAS/SDADP contain Libraries of Styles, Symbols and Representation Rules for SDA. It also contains two SDAOPT elements. SDA-Default. SDA-Main-Views.
Occasionally fabrication drawings produced by SDADP will be under-dimensioned. dimension may be accounted by the method of component definition in the catalogue.
A missing
15.13 SDA Options The attributes of the SDAOPT element define the options that will be used. The attributes of an SDAOPT element maybe modified or a new SDAOPT may be created using the Steelwork Detailing Options form. From the Automatic Drawing Production user application, select Create > Steelwork Detailing...to display the Steelwork Detailing form.
Select /TT/DRA/MAS/SDADP/Options-Default from the pull-down Options list. Click on the Edit button to display the Steelwork Detailing Options form.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
156
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Using the Add or Remove form menus, backing sheets can be added to the list. First navigate to the required backing sheet and select Add > CE.
From the pull down menus for the Main and Detail View Scales, additional scales can be added. Clicking on the Remove Selected button and the current scale will be removed from the list.
The Association Table defines the associations between Draft and elements. Merging defines whether or not separate Sheets are produced for identical items. If it is switched on, the User can select the hierarchical Level at which Sheets for identical items are merged.
Detail Views may be produced if this option is switched on. The Threshold setting defines the level of detail at which detail views are created. Features which have dimensions smaller than the specified proportion of the main item will be shown in detail views.
Picture Files: Because SDADP Sheets are typically fairly simple, the graphics can be generated quickly when viewing sheets. Therefore, by default, no picture files are created for Sheets produced by the SDADP application. However, this means that whenever a Sheet is displayed or plotted it will reflect the current state of the database and not the state of the database at the time of the last Update Design operation. The generation of Picture files can be forced by toggling the Picture Files option.
For Steelwork Detailing ADP, consideration should be given to saving Picture files. Saving may result in a very large number of files being created – potentially using significant disk space and impacting performance.
The Representation Ruleset Reference defines which Styles are used for displaying the profiles. The Annotation Symbols contain suitable annotation symbols. The Customisation Macro specifies a macro which defines how the sheets created in SDADP are named. The names of the Sheets created are generated from the names in the hierarchy. The macro supplied with the product, in the directory %PDMSDFLTS% is DRA-SDADP-MACRO. This macro can be modified, or a new macro can be generated using PML, the AVEVA Programming Language.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
157
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Exercise 11
ADP Drawings
Using the previous Chapter as a guide: Configure ADP to generate Piping and Layout Drawings, create a new backing sheet, Keyplan and schedule for equipment.
Check and modify the attribute data in DESIGN as required.
Create the drawing based on PURP of Zone.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
158
CHAPTER 16
16 AutoDRAFT Administration The AutoDraft application is Draft’s interface to AutoCAD. It is possible to transfer a Draft drawing directly across to AutoCAD, where some Designers prefer to perform final annotation before drawing issue. The transferred drawing maintains the exact style and representation as set from Draft.
AutoCAD
All AutoCAD facilities are available to Drawing Editor users. AutoDRAFT adds the following facilities to the standard AutoCAD system:
Blank out part of the drawing behind specified drawing items. For example, blank out the graphics behind a label.
Create magnified copies of part of a drawing.
Apply AVEVA standard colours to the DRAFT 'elements' within an AutoDRAFT drawing.
Layer control of layers allocated to DRAFT.
Load text from a file onto the drawing.
Create and select viewports containing views of the drawing sheet.
The AutoDRAFT option of the Administration menu accesses the AutoDRAFT Symbol Editor that is used to convert symbols created in AutoCAD into a format usable by Draft and the Frame Editor used to convert drawing frames created in AutoCAD into a format usable by Draft. Before selecting the AutoDRAFT menus the Administrator should ensure to be positioned in Draft Administration at a suitable Symbol Sheet if transferring symbols and a Sheet Library if transferring backing sheets.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
159
AVEVA Plant (12.1) Project Drawing Administration TM-1302
16.1 Updating the PDMS Batch File If AutoCAD was installed prior to the PDMS installation the AutoCAD Settings will be added to the PDMS batch file automatically. Should this not be the case or if the version of AutoCAD is updated the PDMS batch file must be updated manually. The following is a typical entry in the PDMS.bat file which can be found in the PDMS.exe directory typically C:\AVEVA\Plant\PDMS12.0.x. rem For AutoCAD set PDMS_ACAD= set ACAD_VERSION=%PDMS_ACAD% set PDMS_ACAD_PATH=C:\program Files\Autodesk Shared
files\AutoCAD
;C:\Program
Files\Common
16.2 Configuring AutoCAD for use with AutoDRAFT – A Worked Example In order to use AutoDraft, AutoCAD must be installed and configured on the local machine. AutoCAD should be configured to locate the extra menus and fonts used in AutoDraft. AutoDRAFT is supplied with two support directories for AutoCAD: autodraftACAD
-
Contains AutoDRAFT/ AutoCAD menus, batch file and scripts.
autodraftfonts
-
Contains AutoDRAFT/ AutoCAD fonts.
These support directories must be referenced in AutoCAD. Start AutoCAD, outside PDMS, typically Start > All Programs > Autodesk > AutoCAD > AutoCAD
PDMS 12.1 release of AutoDRAFT supports AutoCAD releases 2007, 2008, 2009 and 2010. AutoDRAFT no longer supports AutoCAD 2006 for languages other than English.
Dependant on the version of AutoCAD utilised, the User may be required to display the menu bar in AutoCAD (Command: menubar, Command: 1).
In AutoCAD Select Tools > Options… Select the Files Tab on the Options form.
Expand the Support File Search Path.
Click the Add button followed by the Browse button to initiate a Browse for Folder browser.
www.aveva.com
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
160
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Browse to and add the AVEVA Plant supplied directories: autodraftACAD and autodraftfonts located within the C:\AVEVA \Plant\PDMS12.1.xx directory. On each occasion select the directory and click the OK button to apply. Use the Move Up button to move the search directories close to the top of the Support File Search Path.
Click the Apply button and then the OK button to apply the changes and dismiss the form. Exit AutoCAD by selecting File > Exit from the main menu.
To complete the task and dependant on AutoCAD version, the User may be required to navigate to the AutoDraft customisation directory (Command: menu, followed by navigation to AutoDraftACAD directory and appropriate customisation file (.cui).
16.3 Accessing AutoDRAFT Administration To display the AutoDRAFT Administration menu bar, enter the Draft Administration application and select Draft > AutoDRAFT… option.
16.4 Starting the Symbol Editor - A Worked Example The Symbol Editor enables symbols created in AutoCAD to be converted into a Draft command macro that can then be used to create the equivalent symbols as Draft Symbol Template (SYTM) elements. The Symbol Editor reads AutoCAD drawing entities and creates a Draft command macro that reproduces AutoCAD block inserts as Symbol Templates (SYTM elements) in Draft, each owning 2D primitives. If any of the SYTMs already exist in the current Draft Symbol Library then the old 2D primitives are deleted www.aveva.com and replaced by the new definition. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
161
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Display a suitable symbol sheet for example: /TT/AVEVA-SYMBOLS/SYMBOLS.
Navigate to the required Symbol Library (SYLB) and select Edit > Symbols from the menu bar. The AutoDRAFT Symbol Editor form is displayed.
Enter the AutoCAD Work Directory Local. Enter the AutoCAD Symbol Drawing Name: symbols.dwg.
Select the Create a New Drawing radio button.
.
The file name in the AutoCAD Symbol Drawing Name textbox has .dwg appended.
By toggling Replace All Symbols, all symbols drawn in AutoCAD, that have the same name as existing Draft symbol templates in the selected Symbol Library, overwrite the Draft symbol templates when they are imported from the Symbol Editor. If this option is not set, the option to overwrite symbols individually will be presented at the import stage. The option buttons available to the Administrator are: Create a New Drawing
creates a new AutoCAD drawing for use by the Symbol Editor.
Open an Existing Drawing
opens an existing symbol editor drawing.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
162
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The Administrator can specify the AutoCAD drawing units to be used by selecting from the Units drop-down list i.e. MM. The Administrator is able to define the Symbol Library (SYLB) for Symbol Editor generated symbols to be placed in. The Symbol Library name should be set automatically if the current element is a Symbol Library.
To confirm the AutoDRAFT Symbol Editor options, the Administrator clicks the OK button, and after a short pause the AutoCAD text window and graphics window (with the specified drawing displayed within it) will appear.
The AutoCAD Drawing sheet must be the same size as the Draft Sheet, in this case P4 (210 x 297). Draw a rectangle at this size. Set the AutoCAD Limits 0,0 to 210,297.
16.5 Drawing Symbols in AutoCAD – A Worked Example Draw or import the required symbols; it should be noted that AutoDRAFT will only convert Lines and Text.
The example above shows two section plane symbols drawn as lines which will be transferred to Draft. www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
163
AVEVA Plant (12.1) Project Drawing Administration TM-1302 The name that it will be transferred to is specified using the attribute PDMS_NAME. Create two Attribute definitions, one for each symbol, as follows. Use the AutoCAD command ATTDEF to display the Attribute Definition form. Enter values as follows:
Tag:
PDMS_NAME.
Prompt:
Enter Name.
Select OK and position the Attribute on the screen close to the symbol.
Repeat the symbol(s).
process
for
the
remaining
From the AutoCAD application pull-down select PDMS Symbol > Make Symbol. Enter the Symbol name: AA1.
This is the AutoCAD symbol name not the Draft Symbol Name.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 164
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Select a suitable origin for the Symbol. Select the symbol on the left using a window making sure to include the attribute PDMS_NAME. Press the Return key when the selection is made. Use a Scale of 1 and Rotation Angle 0. Enter Name SECTION-L and then click OK Repeat the process for the other symbol AutoCAD Symbol Name AA2 Draft Symbol Name SECTION-R
This process can be repeated for all symbols. From the AutoCAD application pull-down select PDMS Symbol > Write Symbol. Select both symbols and press the Return key. From the AutoCAD application pull-down select PDMS Symbol > PDMS End Acad. AutoCAD will close and the symbols will be transferred to Draft.
The new symbols can be annotated on the backing sheet as described before. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 165
AVEVA Plant (12.1) Project Drawing Administration TM-1302
16.6 Starting the Frame Editor – A Worked Example The Frame Editor enables drawing frames created in AutoCAD to be converted into a Draft command macro that can then be used to create the equivalent frames as a Draft Backing Sheet or Overlay element within a specified Sheet Library. If the specified Backing Sheet/Overlay already exists in the specified Sheet Library then the old 2D primitives are deleted and replaced by the new definition. Ensure that the Sheet Library (SHLB) that is to contain the returning Frame Editor-generated symbols, is the current element. Navigate to a suitable Sheet Library for example /TT/AVEVA-LIBY-BACKS. Select Edit > Sheet Frame… from the main menu. The AutoDRAFT Frame Editor form is displayed: The option buttons are Create a New Drawing- creates a new AutoCAD drawing for use by the Frame Editor. Open an Existing Drawing - opens an existing frame editor drawing.
Enter the AutoCAD Work Directory:
Local.
Enter the AutoCAD Drawing Name:
pdmsback.
Select Create a New Drawing. Select the element to be created, a Backing. Enter the name required for the derived Sheet into the name text box: TT-A0-BACK-TRAINING.
The file name in the AutoCAD Drawing Name text box has .dwg appended to it
To confirm the AutoDRAFT Frame Editor options, the Administrator clicks the OK button, and after a short pause the AutoCAD text window and graphics window (with the specified drawing displayed within it) will appear. The Administrator is able to draw or import the backing sheet as required.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
166
AVEVA Plant (12.1) Project Drawing Administration TM-1302
16.6.1 Backing Sheets in AutoCAD
Once the backing sheet has been drawn it can be transferred to Draft using PDMS Frame > Write Sheet. Using a window the Administrator is able to select the AutoCAD graphics and press the Return key, followed by select PDMS Frame > PDMS End Acad from the main menu. The Backing Sheet will be added to the relevant Sheet Library.
The background colour might need to be changed to see the graphics.
16.7 Importing Symbols and Backing/Overlay Sheets – A Worked Example The file import facilities described in this section need only be used if the AVEVA software and AutoCAD are on different hardware platforms. Furthermore, the use of these facilities is optional. Navigate to the correct position in the database hierarchy and the macro file exported from AutoDRAFT can be run into the Draft database in the usual manner.
If the AVEVA software and AutoCAD are on the same hardware platform, the Symbol or Sheet elements created using AutoCAD can be created in the DRAFT database directly from AutoDRAFT. See the AutoDRAFT User Guide for details.
The Administrator is able to import the created entities in AutoCAD (using the AutoDRAFT Symbol Editor) to be used as Symbols in Draft, with the Symbol Template (SYTM) elements automatically created. The Administrator selects Import > Symbols… to display the Load AutoDRAFT Symbols form.
Enter the AutoCAD Work Directory:
Local.
Enter the AutoCAD Symbol Macro:
symbols.mac.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
167
AVEVA Plant (12.1) Project Drawing Administration TM-1302 By toggling Replace All Symbols, all symbols drawn in AutoCAD, that have the same name as existing Draft symbol templates in the selected Symbol Library, overwrite the Draft symbol templates when they are imported from the Symbol Editor. If this option is not set, the option to overwrite symbols individually will be presented at the import stage. The import is confirmed by clicking the OK button. The symbols will be created.
The process is the same for Backing Sheet import. The ways in which AutoCAD entities and attributes are mapped to Draft elements and attributes are described in the AutoDRAFT User Guide.
The Administrator is able to import the created entities in AutoCAD (using the AutoDRAFT Frame Editor) to be used as a Backing or Overlay Sheet in Draft, with the Backing or Overlay Sheet element are automatically created. The Administrator selects Import > Sheet Frame… to display the Load AutoDRAFT Sheet Frame:
Enter the AutoCAD Work Directory:
Local.
Enter the AutoCAD Symbol Macro:
pdmsback.mac.
The type of Sheet to be created, and the Sheet Library (SHLB) to which the Sheet is to be added are both as specified on entry to the Frame Editor. If the specified Backing/Overlay Sheet already exists in the specified Sheet Library then the old 2D primitives are deleted and replaced by the new definition. On clicking the OK button, the import is confirmed and the Backing or Overlay Sheet will be automatically created.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
168
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Exercise 12
AutoDraft
Using the previous Chapter as a guide, perform the following tasks:
Using the examples draw and transfer a number of AutoCAD Symbols.
Draw and transfer an AutoCAD Backing Sheet to Draft.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
169
AVEVA Plant (12.1) Project Drawing Administration TM-1302
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
170
CHAPTER 17
17 Isometric Administration Isodraft, the Isometric drawing production module uses a series of Option Files that describe how the Isometric should be drawn. This chapter describes how the PDMS Administrator can modify and create a Standard Isometric Project Option File. A selection of options is discussed to give the Trainee an outline of how to configure Isodraft.
This Chapter should be read in conjunction with Chapter 18 Isometric Symbols.
17.1 Entering Style Library Administration Mode To be able to create or modify Style Libraries the Administrator is required to enter the Draft Style Library application. Select Draft > Style Libraries… from the main menu. All menu selections specified in the remainder of this chapter refer to this Style Library menu unless otherwise stated.
17.2 Entering an Isodraft session On performing a Savework in PDMS Draft, enter PDMS Isodraft by selecting Draft > Modules > Isodraft… from the main menu. When PDMS Isodraft has been loaded, a default screen layout will be displayed:
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
171
AVEVA Plant (12.1) Project Drawing Administration TM-1302
In order to create certain elements in the Isodraft module it is necessary that the User is a member of the Isodraft administration team ISOADMIN.
17.3 Isometric Option Files The Isodraft Option File describes how the Isometric should be drawn. There are two types of Isometric option files: Standard Pipe or Pipe Spool Isometric. System and Vessel Trim Isometrics.
17.3.1 Company Option Files Default Option files are supplied with PDMS for both types and can be found in folders in the PDMS Data Area typically: C:\AVEVA\Plant\Data12.1.SP2\pdmsui which holds a sub folder called DFLTS.
%PDMSUI%\DFLTS\STD for Standard Isometrics.
%PDMSUI%\DFLTS\SYS for System Isometrics.
These are referred to as Company Option Files.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
172
AVEVA Plant (12.1) Project Drawing Administration TM-1302
17.3.2 Project Option Files The project environment variable, for example %TRAISO% for this training session, describes the location of the project specific Option Files which are held in the sub folders. This variable can be checked in the Command Window using the command q evar (Project-Code)ISO in PDMS. For example, typing: q evar TRAISO. Returns: Environment variable TRAISO :C:\AVEVA\Plant\Projects12.1.SP2\Training\traiso
The directory “lis” is used to store System Isometric Lists and the “und” directory is used to store company Isometric backing sheets, the use of both of these directories are discussed later.
17.4 Creating a Standard Isometric Project Option File – A Worked Example In order to create or modify Option Files the Administrator is required to be a member of the ISOADMIN team. Select Options > Create from the main menu.
The Create Options file form is displayed with the following sections:
Filename of the new Options file.
Initial setup Defaults or Existing Option File controls the initial content of the file.
Option file directory, Project, Company or Local controls the location of the Options file.
Isometric type Standard Iso or System Iso.
The Options file gadget lists the existing option files set up at project initialisation. Enter the following data on the Create Options form:
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
173
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Filename:
TRAINING
Initial Setup:
Defaults
Options file Directory:
Project, Standard Iso
Click the OK button to confirm.
The Options File form is then displayed. If this form is dismissed all options will be set to default values. Clicking any of the functional area gadgets allows the relevant options to be set individual by the Administrator.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
174
AVEVA Plant (12.1) Project Drawing Administration TM-1302 For example, Dimensioning… displays the Dimensioning Options form.
17.5 Drawing sheet layout The default layout of an isometric drawing produced through IsoDraft is shown in the figure below. By editing the options file it is possible to modify the output format of the isometric. Some of the possible changes will be discussed here.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
175
AVEVA Plant (12.1) Project Drawing Administration TM-1302
17.6 Administrative Options – A Worked Example This form is used to set the Plot File Paths, Name and Output Type. The form is also used to specify the TrueType Font, Message file location and Sheet Splitting.
Prior to 12.1 the output type would have been set to PDMS, however in the following example True Type Fonts are used and the old Pseudo Plot format does not support TTF.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
176
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Comments
This descriptive text entered by the Administrator describes the content of the Options File.
Enter the comment TRAINING OPTION FILE.
The Plots options on the Administrative Options form controls the types of isometric files that are produced, allowing a choice of PDMS, DXF, PDMS + DXF or the more modern output formats of PDF, PRINT, IMAGE and EMF. The newer output types can be used with True Type Fonts.
Plotfile (Directory/Filename) - The Plotfile options set the directory for plotfiles in the Directory text box (this will be set to Local, i.e. the current directory, if no name is specified) and the filename in the Filename box. Plotfile names have a three digit number appended to them, so the default filename (plot), will give plotfiles named plot001, plot002 etc. If “Use Drawing Name” is selected, Plot files can be named based on the Pipe or Spooler Drawing Name. If one of the other formats is selected then plot files have the appropriate suffix appended for example if DXF output is specified, the filenames have .dxf appended (i.e. plot001.dxf etc.) and for PDF .pdf is appended (i.e. plot001.pdf etc.). Uncheck the PDMS and DXF Output check boxes and check PDF Output, Colour Mode BW and View. True Type Fonts - Selecting the True Type Font Option allows the Administrator to select one of the TTF as defined in Admin. Tick True Type Fonts and Font Comic Sans MS.
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 177
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Messages (Directory/Filename) - The Messages options on the Administrative Options form set the directory for the message file in the Directory text box (this will be set to Local, i.e. the current directory, if no name is specified) and the filename in the Filename box.
A message file will overwrite an existing file of the same name.
Sheet Splitting - IsoDraft automatically splits isometrics onto several sheets if there is too much information to be read easily on a single sheet. The Sheet splitting options on the Administrative Options form control how the isometrics are split. The default amount of information is described as 100%. Increasing Sheet Splitting value with Percentage set increases the complexity of the sheets, decreasing it will decrease the complexity of the sheet. It is possible to change the number of sheets as follows: Set the number of drawings you want the isometric to be split onto in this case to 3 and the select the Drawings option.
Split points can be set precisely by creating split ATTAs at the required 3D position in Design.
Miscellaneous options
Detail Flag
Creates an Inter-database macro to set the Detail Flag in Design
Increment Revisions Attribute
Will create an Inter-database macro to increment the Pipe Revision Flag in Design
Once the settings have been made, click the OK button on the Administrative Options form and click the Dismiss button on the Options form.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
178
AVEVA Plant (12.1) Project Drawing Administration TM-1302
17.6.2 Using True Type Fonts on Isodraft Output files In the Design Explorer Navigate to Pipe 250-B-5 within ZONE-PIPING-AREA01. Select Isometric > Standard from the main menu.
Select the Option File TRAINING. Click the Apply button.
Note 3 Sheets will have been created.
Use the Administrative form again and set the sheet splitting to 100 Percentage and repeat the process to produce a single sheet.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
179
AVEVA Plant (12.1) Project Drawing Administration TM-1302
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
180
AVEVA Plant (12.1) Project Drawing Administration TM-1302
17.7 Sheet Layout Options – A Worked Example This form is used to define the Sheet Layout for the Drawing. The divisions of the Sheet Layout Options are explained in the following sections.
17.7.1 Size/Stacking The Size/Stacking section of the Sheet Layout Options form contains the following: The Drawing size of the plotted sheet produced by ISODRAFT can be set to an ISO (International Standards Organisation) A–size, to an American standard size, or to specified dimensions. The default size is A2. The selected paper size will be divided between the isometric area, the material list area, the title block area, the margins, and so on. The Drawing size option button sets the sheet to a standard size or you can specify the sheet dimensions explicitly by entering the values in millimetres or inches into the Height and Width text boxes. For a non-standard size, the Drawing size option will be shown as User.
17.7.2 Graphics The Graphics section of the Sheet Layout Options form contains the following: The View direction option controls the isometric view direction.
The North arrow will always be at the top left hand corner of the drawing unless part of the isometric itself occupies this area, in which case the arrow will be moved automatically. www.aveva.com
© Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
181
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Isometric type - This button controls the types of isometric plot produced:
o Combined (fab/erec) outputs a fully dimensioned and annotated isometric drawing with a detailed material list specifying all piping components, bolts etc. o Fabrication outputs a similar format to the Combined format except that the following information, which is relevant only to the erector, is omitted: -
Plant coordinates. 'Connected to' and 'continued on' comments at pipeline ends. Attachment point details. The sequence numbers of valves and related items in the material list, hand-wheel spindles, flow arrows etc., unless relevant to a welded pipe assembly. Gasket and bolt item numbers in the material list. The erection materials list.
o Erection outputs a similar format to the combined format except that: -
All fabrication materials are omitted from the material list apart from loose flanges. Material list item numbers for fixed flanges are not listed, although full information is still included for any flanges which are to be left loose for onsite welding.
o Combined + fabrication produces a combined isometric and a fabrication isometric. o Combined + erection produces a combined isometric and an erection isometric. o Spool. This type of isometric is intended for the fabricator. A separate fabrication drawing is produced for each spool. Only fabrication information will appear. In-line components, including valves, will be omitted unless they are to be welded in to form an integral part of the spool assembly during shop fabrication. o No Isometric plot. This option does not produce a plot file. Output filenames must be specified, e.g. for a Material List file, to obtain any output. Backing sheets - It is possible to specify up to nine backing sheets. Set the Backing sheet directory option button on the Sheet Layout options form to Project or Company and then select the sheet filenames from the scrolling list. Select the All off button to switch off all backing sheets.
Select Backing Sheet BlankA2.S1.plt The above options will copy a typical Backing Sheet Plot File into iso > UND folder typically: C:\AVEVA\Plant\Projects12.1.SP2\Training\traiso\und
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
182
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Note: The Macro BlankA2.pmlmac was used to create the plot file and is not normally needed.
Piping line thickness - The Piping line thickness specifies the line width drawn for pipe. The value must be between 1 and 10. The default is 3.
17.7.3 Specifications The Specifications section of the Sheet Layout Options form contains the following:
Insulation / Tracing - Allows the Administrator to determine how the specifications are shown through the selection of Off, Tube Only or Tube + Components
17.7.4 Flow Arrows and Margins The Flow Arrows and Margins section of the Sheet Layout Options form contains the following: Margins - The Margins text boxes allow the Administrator to set different widths for each margin edge independently for each side of the drawing, i.e. the areas between the isometric frame borders and the sheet. For example, a large bottom margin will allow space for information from an AutoCAD drawing frame.
Set the Margins Left, Right and Top to 18mm and the Bottom to 54mm. Flow Arrows can be drawn inline at on components.
17.7.5 Reserved Areas The Reserved Areas section of the Sheet Layout Options form contains the following: Reserved area height – Drawing / Material List - The Reserved area height text boxes can be used to specify the height of an area at the bottom of the drawing area, or at the bottom of the Material List, which ISODRAFT is to leave blank. This reserved area is inside the bottom margin. You can use a reserved area to avoid overwriting pre-printed information on the sheet, or to allow for the addition of www.aveva.com other data from an underlay plot. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
183
AVEVA Plant (12.1) Project Drawing Administration TM-1302 To create a reserved area for a drawing, enter the height of the area in the Drawing text box and to create a reserved area for a Material List, enter the height of the area in the Material List text box. Both are measured from the top of the bottom margin. The Isometric is produced as described before to show the new Backing Sheet and margin settings
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
184
AVEVA Plant (12.1) Project Drawing Administration TM-1302
17.8 Dimensioning Options – A Worked Example
17.8.1 Units The Units section of the Dimensioning Options form contains the following: Input units - The Bore and Distance option allows the user to modify the dimensional units used in the forms. When the input units are changed, displayed defaults (e.g. margin sizes) will change when the window they are displayed in is re-displayed. Output units - The options available for dimensional units used on the drawing are as follows: -
Metric lengths + Imperial diameters
-
Metric lengths + diameters
-
Imperial lengths inch Isometric Symbol Libraries… from the main menu. All menu selections specified in the remainder of this chapter refer to this Isometric Symbol Library menu unless otherwise stated.
18.2 Creating an Isometric Symbol Library – A Worked Example To create a new isometric symbol library (ISOLB), navigate to the appropriate LIBY or create a new LIBY by selecting the Create > Library… option. The Create LIBY form is displayed.
Enter the Name: /AVEVA-ISO-LIBY and click the OK button.
At the correct LIBY element, select Create > Isometric Symbol Library... to display the Create ISOLB form. Enter the Library Name: /AVEVA-ISO-LIBY/ISOSYMBOL and click the OK button to confirm.
The Isodraft Symbol Library form will then be displayed. The ISOLB is effectively a drawing sheet template, on which ISOTM’s are placed. The dimensions must be specified, either explicitly or by selecting a standard sheet size. The Isodraft Symbol Library can reference a backing sheet; select the required sheet, by using either the Reference or Filename options.
If attributes are defined at ISOLB level, they will be inherited by the ISOTM elements on creation. Click on the Attributes... button to set values for Text colour, spacing, line spacing, etc. (These attributes can be modified for individual ISOTMs if required.)
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
212
AVEVA Plant (12.1) Project Drawing Administration TM-1302
18.3 Creating IsoDraft Symbol Templates – A Worked Example The ISODRAFT Symbol Templates allows the Draft administrator to produce user-defined isometric symbols using the DRAFT interface. The symbol definition is made up of two components, straights and markers.
Straights - can be solid for normal lines, dashed for insulation and chained for tracing.
Markers - can be defined for symbol arrive and leave points, tee points and spindle points.
Select Create > ISODRAFT Symbol Template… to display the Create ISOTM form.
Enter the Name: /AVEVA-ISO-LIBY /ISOSYMBOL /ISOTM1 and click the OK button to confirm.
All SKEYS can be redefined. Refer to the Isodraft Reference Manual for a list of user definable symbol keys.
The Symbol Template form is displayed and is used to define a new symbol or redefine an existing symbol. Enter the Skey name PCFL.
If the SKEY specified in the field already exists, the symbol would be redefined.
Enter the Base Skey name CVFL.
The Base Skey must exist and be user definable. Any new symbol definition takes its characteristics from the Base SKEY specified.
Enter the Spindle type required: NONE.
NONE is the default value. There are 13 spindle available spindle types 01SP-13SP.
Refer to the ISODRAFT User Manual for a complete definition of Spindle symbols.
Enter the Scale; this changes the size of the symbol, without redefining the co-ordinates of the plotted shape (100% = full size). The Orientation scrollable list has the following options: None - specifies a symmetrical fitting, where the flow is not relevant. Flow - specifies a fitting for which the flow direction is important, such as check valves. Reducer - specifies a reducing fitting. Flange - specifies a fitting which begins with a flange and is preceded by a gasket. Check boxes exist for the display of the following: Flow arrows on the symbol, otherwise they are suppressed (this is the default). Dimensions (this is the default) will plot dimensions alongside the symbol. © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
www.aveva.com 213
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Fill, the symbol will be filled; otherwise the symbol is not filled (default). Insulation will show insulation on the symbol (default), otherwise insulation is not shown. Tracing will show tracing on the symbol (default), otherwise tracing is not shown. Once the form is complete, click the Apply and Dismiss buttons to close the form.
18.3.1 Drawing the Isometric Symbol Select Draw > Primitives to display the Create Isodraft 2D Primitives form and create the Isodraft Symbols.
Isodraft Symbols are created using line primitives. Arrive and Leave points must be specified for the symbol. Tee points are used to define the start position of off-line legs. The spindle position can also be specified. Create a new valve symbol as shown below. Display a grid, (25mm x 25mm) and use SNAP to Grid to aid in the symbol construction. Add suitable arrive and leave points.
18.3.2 Exporting the ISODRAFT Symbol Export the ISODRAFT Symbol by selecting Utilities > Export ISODRAFT Symbol. The following Export Isodraft Symbols form is displayed.
There are two options under the View pull-down menu:
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
214
AVEVA Plant (12.1) Project Drawing Administration TM-1302 Library Show/Hide – will show or hide the Isodraft Symbol library.
Highlight Selected SYTM’s – will highlight the selected SYTM in the Isodraft Symbol Library form. In this case, there is only one symbol: PCFL. The options available under File are as follows: New - Displays a file browser to create a new file, into which the Isodraft Symbols will be exported. Open - Displays a file browser. An existing Isodraft Symbol file will be opened and the Isodraft Symbols will be exported into the existing file. Close - Closes the current open file.
Specify a new file: C:\temp\isometric_symbols.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
215
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Highlight the symbol PCFL for export into the file and click the Add button. The contents of the file will be displayed in the File Contents section panel of the form. Use File > Close followed by the Dismiss button to close the form.
18.3.3 Importing ISODRAFT Symbols Symbols can be imported into ISODRAFT by selecting Utilities >Import ISODRAFT Symbol to display the Import Isodraft Symbols form. The form allows the user to import IsoDraft symbol macro files into Draft symbol libraries.
Specify the file name containing the ISODRAFT symbol macros. Enter the name of the library and symbol library. Enter the prefix if required for the Isometric Symbol template.
Click the Apply button to import the given symbol macro file into the specified Draft symbol library.
The first symbol is positioned at the bottom left hand corner of the Sheet. Subsequent symbols are tabulated across and up the page. When there is no space left on the Sheet, a new ISOLB is created.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
216
AVEVA Plant (12.1) Project Drawing Administration TM-1302
18.3.4 Typical Isodraft Symbol Definition File Taking the symbol template example in the adjacent form and using Draw > Primitives to create the straights, Draft could produce a 2D representation as follows: SYMBOLFILENAME /NEW_SYMBOLS SKEY 'RKFL' 'CKFL' INSU ON ORI FLOW PEN UP 0 4 PEN UP 0 7 PEN DOWN 10 7 PEN DOWN 10 1 PEN DOWN 0 1 PEN DOWN 10 4 PEN DOWN 0 7 PEN DOWN 0 1 PEN TEE 2.5 1 PEN TEE 7.5 1 PEN TEE 2.5 7 PEN TEE 7.5 7 PEN UP 0 0 PEN INSU 10 0 PEN UP 0 8 PEN INSU 10 8 PEN UP 0 0 PEN TRAC 10 0 PEN UP 10 4 ENDSKEY
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
217
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Exercise 14
Isodraft Symbol Libraries
Using the previous Chapter as a guide, complete the following tasks: Create a LIBY /AVEVA-ISO-EX-LIBY and ISOLB /AVEVA-ISO-EX-LIBY/SYMBOL. Create a typical Isometric template (ISOTM) /AVEVA-ISO-EX-LIBY/SYMBOL/HVFL using the information below. The following is a typical hydraulic control valve:
Create several Isometric templates (ISOTM) for example: Non Return Valve
CKFL
Instrument Control Valve
XAFL
Export the ISOTM.
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
218
Appendix A
Appendix A Draft Defaults The following is a list of the default files used by the Draft applications.
Name
Description
DRA-GEN-SYSTEM
System defaults file
DRA-GEN-SYSTEM.IMP
System defaults file with imperial settings
DRA-GEN-SYSTEM.bak
System defaults file back-up copy
DRA-SETUP
User configurable setup file
RA-GEN-LINDEF
Macro executed on entry to DRAFT to define additional line pictures and patterns
DRA-GEN-FONTS
Font names file – The numbers 1-4 are used for old style wigwam fonts. Numbers 5 and onwards are used for True Type fonts
DRA-GEN-TEXT
Sample intelligent texts displayed to user from dynamic text forms
DRA-GEN-CLASHTEMP
Clash plotting macro template
DRA-GEN-DEFLAY
Layer setup macro - standard default
DRA-GEN-DIMLAY
Layer setup macro - dimension layers
DRA-GEN-HLDLAY
Layer setup macro - H&S layers
DRA-GEN-LABLAY
Layer setup macro - label layers
DRA-GEN-MATLAY
Layer setup macro - matchline layers
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
219
AVEVA Plant (12.1) Project Drawing Administration TM-1302
DRA-GEN-NLLLAY
Layer setup macro - label layers with no leader lines
DRA-GEN-NOTLAY
Layer setup macro - note layers
DRA-GEN-RADLAY
Layer setup macro - radial dimension layers
DRA-GEN-SYMLAY
Layer setup macro - symbol layers (2D SYMB)
DRA-GEN-TAGLAY
Layer setup macro - tagging layers (layers with reserved Purp TAG)
ADP Default Files:
Name
Description
DRA-GENADP-EQUILOCN
General ADP defaults file for equipment location plans
DRA-GENADP-PIPING
General ADP defaults file for piping plan and elevation GAs
DRA-GENADP-PLOTPLAN
General ADP defaults file for plot plans
DRA-GENADP-SUPPORTS
General ADP defaults file for H&S drawings
DRA-ADP-BRANINLAY
Layer setup macro for ADP branch labels
DRA-ADP-DIM1LAY
Layer setup macro for ADP TYPE 1 dimensions
DRA-ADP-DIM2LAY
Layer setup macro for ADP TYPE 2 dimensions
DRA-ADP-DIM3LAY
Layer setup macro for ADP TYPE 3 dimensions
DRA-ADP-EQUICLLAY
Layer setup macro for ADP equipment centrelines
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
220
AVEVA Plant (12.1) Project Drawing Administration TM-1302
DRA-ADP-PESYMBLAY
Layer setup macro for ADP pipe end symbols
DRA-ADP-SCHEDLAY
Layer setup macro for ADP schedules
DRA-ADP-SCHEDSUPP
Layer setup macro for ADP H&S schedules
DRA-ADP-TAGLAY
Layer setup macro for ADP Tagging
DRA-ADP-DIM3LEFTATTS
Dimension setup macro for ADP TYPE 3 dimensions LEFT side of view
DRA-ADP-DIM3UPATTS
Dimension setup macro for ADP TYPE 3 dimensions UP side of view
Hangers & Support Default Files:
Name
Description
DRA-SUPP
Main H&S defaults
DRA-SUPP-HADLAY
Layer setup macro - hanger dimension layers
DRA-SUPP-HSMLAY
Layer setup macro - hanger material list layers
DRA-SUPP-SIBLAY
Layer setup macro - supported item BOM layers
DRA-SUPP-STBLAY
Layer setup macro - steelwork BOM layers
Detail View Default Files:
Name
Description
DRA-LOC-LAYER
Detail layer setup macro for master view
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
221
AVEVA Plant (12.1) Project Drawing Administration TM-1302
DRA-LOC-NOTE
Default detail view note intelligent text for master view
DRA-LOC-NOTE-EXAMPLES
Examples of alternative detail view note intelligent texts for master view
DRA-DET-LAYER
Detail layer setup macro for new detail view
DRA-DET-NOTE
Default detail view note intelligent text for new detail view
DRA-DET-NOTE-EXAMPLES
Examples of alternative detail view note intelligent texts for new detail view
Radial Dimension Default Files:
Name
Description
DRA-DIM-PDIM
PDIM setup macro, this macro is executed each time a PDIM is created
DRA-DIM-RDIM
RDIM setup macro, this macro is executed each time a RDIM is created
Miscellaneous Default Files:
Name
Description
DRA-AUTONAME
File required for successful appware loading (for future use)
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
222
Appendix B
Appendix B Example Drawing Styles
Drawn with: Front Face Pen, Tube On, and Pipe Symbols On
Drawn with: Front Face Pen, Back Face Pen, Tube On, and Pipe Symbols On
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
223
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Drawn with: Centre Line Pen and Pipe Symbols On
Drawn with: Profile on P-Line Off and P-Line Pen Off
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
224
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Drawn with: P-Line on P-Line, Pen On and Profile Off
Drawn with: Tube Pipe, Symbol, Obstruction and Centreline Pen All Active
Drawn with: Pipe and Symbols off but Tube and Centreline Pen Active
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
225
AVEVA Plant (12.1) Project Drawing Administration TM-1302
Drawing Style
Flag Settings
Level Settings
OBS
-
OFF
CL
-
ON
TUBE
-
OFF
OBS
-
OFF
CL
-
ON
TUBE
-
OFF
OBS
-
OFF
CL
-
OFF
TUBE
-
ON
OBS
-
OFF
CL
-
OFF
TUBE
-
ON
OBS
-
OFF
CL
-
ON
TUBE
-
ON
OBS
-
OFF
CL
-
ON
TUBE
-
ON
Lev. 0 (Default)
Lev. 6
Lev. 0 (Defaults)
Lev. 6
Lev. 0 (Defaults)
Lev. 6
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
226
AVEVA Plant (12.1) Project Drawing Administration TM-1302
OBS
-
ON
CL
-
OFF
TUBE
-
OFF
OBS
-
ON
CL
-
ON
TUBE
-
OFF
Lev. 0 (Default)
Lev. 0 (Default)
www.aveva.com © Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
227