|
|
USGS Links & DLGLX
DLGLX Version 1.55 of USGS DLG to
DXF converter
MSDOS command line program. DLGLX Converts USGS
(United States Geological Survey) DLG
(Digital Line Graph) data to DXF format to import into Various CADD systems.
Layers the attribute data & allows for including particular layers. This is
a shareware program.
Dlglx is now FREEWARE, but still copyrighted. The current version is 1.55
as of 9/6/1999.
- If you getting the error message: %ERROR - Maximum 1024 layers exceeded",13,10,0
%ERROR - Maximum 1024 layers exceeded& use the switch /ALL=LAYER. I have
seen one Geology type DLG file that each line's attribute was the line
number. So, if you had a file with 12,000 lines, dlglx wanted to create
12,000 layers & failed after it hit the 1024 limit.
- To create a DXF file for each DLG file in a directory, try the following
command:
for %x in (*.DLG) do DLGLX154 /h %x %x 0
You are actually sending DLGLX the .DLG name for the input & output names,
but it ignores the extention on the 2nd name & substitutes a .DXF extention.
If you use the command in a batch file you have to use %% instead of %.
- If you want to create 1 .DXF file from a whole bunch of dlg files, use
a wild card specification for the .DLG file. Here are a couple of examples:
DLGLX /H D:\DLG\*.DLG D:\DWG\USGS.DXF 0
DLGLX /H NOR*.DLG NOR.DXF 0
The first example will create USGS.DXF in the directory D:\DWG from all
the .DLG files in directory D:\DLG. The second example will create in
the default directory NOR.DXF from all the .DLG files in the default directory
that start with the letters "NOR".
- If you always have your DLG in the same directory & always want to create
your DXF files in another directory, create a simple one line batch program
like this & call it something like RUNDLG.BAT:
DLGLX /H D:\DLG\%1.DLG D:\DXF\%2.DXF 0
When you run the batch program all you have to type in is the file names
without the extentions:
RUNBAT NOR NOR
If your input & output file names are the same, you can simplify the
RUNDLG.BAT even further by using a %1 in place of the %2 in the DXF portion
& only have to enter one file name.
|