v.out.dxf
Exports vector map to DXF file format.
v.out.dxf input=name [layer=string] output=name [--overwrite] [--verbose] [--quiet] [--qq] [--ui]
Example:
v.out.dxf input=name output=name
grass.script.run_command("v.out.dxf", input, layer="-1", output, overwrite=False, verbose=False, quiet=False, superquiet=False)
Example:
gs.run_command("v.out.dxf", input="name", output="name")
Parameters
input=name [required]
Name of input vector map
Or data source for direct OGR access
layer=string
Layer number or name ('-1' for all layers)
A single vector map can be connected to multiple database tables. This number determines which table to use. When used with direct OGR access this is the layer name.
Default: -1
output=name [required]
Name for DXF output file
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--qq
Very quiet module output
--ui
Force launching GUI dialog
input : str, required
Name of input vector map
Or data source for direct OGR access
Used as: input, vector, name
layer : str, optional
Layer number or name ('-1' for all layers)
A single vector map can be connected to multiple database tables. This number determines which table to use. When used with direct OGR access this is the layer name.
Used as: input, layer
Default: -1
output : str, required
Name for DXF output file
Used as: output, file, name
overwrite: bool, optional
Allow output files to overwrite existing files
Default: False
verbose: bool, optional
Verbose module output
Default: False
quiet: bool, optional
Quiet module output
Default: False
superquiet: bool, optional
Very quiet module output
Default: False
DESCRIPTION
The GRASS program v.out.dxf conversion program generates an ASCII DXF (AutoCAD) file from a GRASS vector. The output file is placed in the user's current working directory unless the user specifies a full pathname for the output.
NOTES
DXF files output by AutoCAD have the suffix .dxf
REFERENCES
AutoCad DXF (from Wikipedia, the free encyclopedia)
SEE ALSO
Introduction to GRASS vector map processing
AUTHORS
Charles Ehlschlaeger, U.S. Army Construction Engineering Research
Laboratory,
wrote original v.out.dxf program in 4/89.
Update to GRASS 5.7 Radim Blazek, 10/2004
SOURCE CODE
Available at: v.out.dxf source code
(history)
Latest change: Saturday Mar 29 14:59:39 2025 in commit 0bfa813