Creating Line Patterns
- Last UpdatedMar 27, 2024
- 1 minute read
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:
-
%<PROJ_ID>DFLTS%/Diagrams
-
%PDMSDFLTS%
-
%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.