0% found this document useful (0 votes)
174 views4 pages

Line-Patterns Aveva Diagrams 14.1.Sp2

The document discusses how to create custom line patterns in Diagrams. It explains that line patterns are defined in a text file called Diagrams.lin, which can be edited to create new patterns. Patterns consist of a name and definition line specifying a sequence of dashes, dots, and spaces. More complex patterns can include text by specifying parameters like the text, style, scale, and offsets within square brackets. Several examples are provided to illustrate simple and more advanced line pattern definitions.

Uploaded by

m_925
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
174 views4 pages

Line-Patterns Aveva Diagrams 14.1.Sp2

The document discusses how to create custom line patterns in Diagrams. It explains that line patterns are defined in a text file called Diagrams.lin, which can be edited to create new patterns. Patterns consist of a name and definition line specifying a sequence of dashes, dots, and spaces. More complex patterns can include text by specifying parameters like the text, style, scale, and offsets within square brackets. Several examples are provided to illustrate simple and more advanced line pattern definitions.

Uploaded by

m_925
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Creating Line Patterns Page 1 of 4

Diagrams User Guide

Diagrams : Utilities : DWG Export : Creating Line Patterns

Creating Line Patterns


The default Diagrams.lin file with DWG patterns definitions is placed in the %PDMSEXE% directory. This is a
text file, so it can be edited using a text editor like Notepad. This file can be exchanged with another line pattern
file directly in the operating system. It is possible to have project-specific patterns. To achieve this the modified
Diagrams.lin file should be placed in the Diagrams sub-directory in the location pointed out by %
<PROJ_ID>DFLTS%. The systems is searching for the patterns file in the
following order;
1. %<PROJ_ID>DFLTS%/Diagrams
2. %PDMSDFLTS%
3. %PDMSEXE%
One pattern consists of two lines. The first line contains the name and description and uses the following syntax:
*name,description
The Second line starts with A,. It indicates the beginning of the linetype pattern:
A,pattern
A simple pattern is a sequence of dashes, dots or spaces separated by commas:
• Dash - is represented by a positive number.
• Space - is represented by negative number.
• Dot - is represented by zero.

Example 1:
A simple linetype definition containing dashes:
*myLine1,- - - - - - - -
A,1,-1

Example 2:
A simple linetype definition containing dashes and dots:
*myLine2,- . - . -
A,1,-0.5,0,-0.5

http://help.aveva.com/AVEVA_Diagrams/14.1.SP2.2/Diagrams/Utilities.11.30.html 22-02-2019
Creating Line Patterns Page 2 of 4

To define the linetype that includes text characters, some parameters must be defined:
• "text" - text to display (must be defined)
• textstylename - used text style (must be defined)
• scale - the scale or height of the text
• rotation - rotation angle of the text
• xoffset - X offset from the end of the previous space
• yoffset - Y offset from the end of the previous space
The text specification is enclosed in square brackets "[]" and each item is separated by commas ",":
["text",textstylename,scale,rotation,xoffset,yoffset]
Note: textstylename - should be ACAD embedded text style name, .shx files are unsupported.

Example 3:
Line type definition with text character:
*myLine3,- B - B - B -
A,1,-0.5,["B",STATNDARD,S=0.4],-0,-0.5,-0

Example 4:
Line type definition with rotated text character:
*myLine4, - B - B - B -
A,1,-0.5,["B",STANDARD,S=0.4,R=18],-0,-0.5,-0

http://help.aveva.com/AVEVA_Diagrams/14.1.SP2.2/Diagrams/Utilities.11.30.html 22-02-2019
Creating Line Patterns Page 3 of 4

Example 5:
Line type definition with moved text character:
*myLine5, - B - B - B -
A,1,-0.5,["B",STANDARD,S=0.4,X=0.2,Y=0.3],-0,-0.5,-0

Example 6:
Line type definition with text character above continuous line:
*myLine6, -B-B-B-B-B-
A,1,-0,["B",STANDARD,S=0.4,Y=0.3]

Example 7:

http://help.aveva.com/AVEVA_Diagrams/14.1.SP2.2/Diagrams/Utilities.11.30.html 22-02-2019
Creating Line Patterns Page 4 of 4

*FLOWDIR, -->---->--
A,1,-0,[">",STANDARD,S=0.1,R=0,Y=-0.05]

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.

http://help.aveva.com/AVEVA_Diagrams/14.1.SP2.2/Diagrams/Utilities.11.30.html 22-02-2019

You might also like