This command creates a polyline file that contains the point
data of the select polylines. The objects supported by this tool
include polylines, arcs and lines. If you want to include text, you
must use the Text Explode To Polylines command found in the
Edit menu to convert the text to polylines before running this
command. This polyline file is a text file that has three formats.
The Carlson format (.PLN) is used by machine control (Carlson
Grade, Dozer 2000, GradeStar) for the plan view. Each polyline
begins with a line of "POLYLINE, Color number". Then the points for
the polyline are listed on separate lines in X,Y,Z format. Here is
a list of the available color numbers:
0 = Black |
8 = Dark Gray |
1 = Blue |
9 = Light Blue |
2 = Green |
10 = Light Green |
3 = Cyan |
11 = Light Cyan |
4 = Red |
12 = Light Red |
5 = Magenta |
13 = Light Magenta |
6 = Brown |
14 = Yellow |
7 = Light Gray |
15 = White |
The MicroStation format (.txt) can be imported into
MicroStation. This format has the coordinates as space delimited
for each polyline point. There is an extra column with a 1 or 0
where 1 specifies the start of a new polyline. The DTM and Idan
formats create linework files for the DTM and Idan
programs.
Polyline file format
[<Carlson>/DTM/Idan/MicroStation]? press Enter for Carlson
format
Specify File to Write dialog
create a new file or append to existing
Polyline file for Grid File Utilities macro
[Yes/<No>]? press
Enter The option will write a polyline file that can be used
with Grid File Utilities for inclusion/exclusion perimeters.
Include Z coordinate in polyline
file [Yes/<No>]? press Enter This option controls
whether the polyline vertices are written in 2D or 3D.
Specify Exclusion/Warning
Polylines [Yes/<No>]? press Enter This option applies to
machine control for warning areas.
Specify WorkZone Polylines
[Yes/<No>]? press
Enter This option applies to machine control for working
areas.
Reduce Polyline Vertices
[<Yes>/No]? press
Enter This option applies Reduce Polyline to the polyline
vertices before writing the file.
Enter reduce offset cutoff
<0.1>: press
Enter
Decimal places for coordinates
<2>: press
Enter
Select polylines, lines and arcs
to write.
Select objects:
pick the entities to
process
Done.
Sample Polyline File:
POLYLINE,15
47639.82,74540.11,0.00
47670.49,74565.79,0.00
47701.08,74591.49,0.00
49375.61,76358.47,0.00
50066.86,76846.75,0.00
POLYLINE,15
47633.24,74547.97,0.00
47663.90,74573.65,0.00
etc...
Keyboard Command: polywrite
Prerequisite: Polylines in the drawing