This program, in conjunction with v.in.dxf, is ideal for automaticaly importing, to GRASS vector file, layers with Z values (isolines and level contours) from DXF format files.
Firts should be run the v.in.dxf program for import the DXF polylines to binary GRASS vector file format (dig). Later, the DXF Z values of the isolines layers with v.in.dxf3d (dig_att) must be imported, and finally run v.support to attach at this layers their elevations. The v.in.dxf3d.sh script can be used to make all this automaticaly, for a maximun of two isolines layers (normally contours and master contours) from one DXF file.
The v.in.dxf program only recognizes, by now, the Z values from polylines entities in the DXF format.
Parameters
If the input DXF file is in MS-DOS text format, with CR/LF instead of Unix LF, the program doesn't run. To avoid this problem, import to Unix your DXF-MSDOS format files with FTP in ascii mode or with a command able to convert this files (DOS-COPY, mcopy, etc).
The program was rewritten in C for Grass-Unix environment by Evaristo