Input/Output Parameters
Input/Output Parameters |
|
I |
Input File/Directory Name |
O |
Output File/Directory Name |
F |
Output Format |
FPATH |
Font Path |
LOG |
Log File Name |
LPATH |
License Path |
RASTER |
Creates Raster-based SVG/SVGZ |
REPOSITORY |
Repository |
TREATAS |
Treat as |
XPATH |
External Reference Path |
PARAMETER |
i |
Purpose |
This parameter defines the input file name. |
Notes |
You can use wildcards to perform multiple file conversions. * will match any remaining character(s). ? will match any given character. |
Example |
-i “c:\temp files\my file.dwg” |
|
-i c:\temp\*.dwg |
Use |
With all graphic formats |
Output File
PARAMETER |
o |
Purpose |
This parameter defines the output file name. |
Notes |
This parameter is ignored if wildcards were used in the input file name . |
Example |
-o my_output.dwf |
Use |
With all graphic formats |
Font Path
PARAMETER |
FPATH |
Purpose |
This parameter allows the specification of an alternate location for the font files. The default is to look for the font file in the same directory as the executable followed by the directory where the input file is located. |
Example |
-FPATH=c:\myfonts |
Alias |
-FP |
Use |
With all graphic formats |
PARAMETER |
f |
Purpose |
This parameter defines the file type for the output file. |
Example |
-f=SVG |
Values |
|
SVG |
Simple Vector Graphics |
SVGZ |
Compressed SVG |
RSVG |
Raster-based SVG |
RSVGZ |
Compressed Raster-based SVG |
PDF |
Portable Document Format |
DWF |
Drawing Web Format * |
PLT |
HP-GL and HPGL/2 * |
IGES |
Initial Graphics Exchange Specification * |
JPEG, JPG |
Joint Photographers Expert Group |
PNG |
Portable Network Graphics |
TIFF |
Tagged Input File Format |
CCITT |
TIFF Group IV * |
? |
List all output formats |
Aliases |
|
-PDF |
-f=PDF |
-DWF |
-f=DWF |
-SVG |
-f=SVG |
-SVGZ |
-f=SVGZ |
-RSVG |
-f=RSVG |
-RSVGZ |
-f=RSVGZ |
-JPG |
-f=JPG |
-JPEG |
-f=JPG |
-TIFF |
-f=TIF |
-TIF |
-f=TIF |
-GIF |
-f=GIF |
|
|
Use |
With all graphic formats |
|
* On Request |
Log File Name
PARAMETER |
LOG |
Purpose |
This parameter defines the log file name. |
Notes |
If this parameter is omitted then messages will only be output to the screen. If this parameter is defined then messages will be output to both the screen (depending on the value of -q (quiet)) and to the log file |
Example |
-log=“c:\temp files\my log.log” |
Use |
With all graphic formats |
License Path
PARAMETER |
LICENSE_PATH |
Purpose |
This parameter allows the specification of an alternate location for the License File. The default is to look for the license file in the same directory as the executable followed by the directory where the input file is located. If a valid license is not found then the program runs in demo mode. |
Example |
-LPATH=c:\mystuff |
Alias |
-LPATH |
Use |
With all graphic formats |
Raster
PARAMETER |
RASTER |
Purpose |
This parameter causes a raster-based SVG/SVGZ file to be created instead of a vector-based file. |
Example |
-RASTER |
JSON |
{“RASTER” : true} |
Use |
SVG/SVGZ Only |
Repository
PARAMETER |
REPOSITORY |
Purpose |
This parameter controls if original reference paths are used when trying to find referenced raster files. See Raster File Search Order |
Example |
-REPO |
Alias |
-REPO |
|
-RE |
Use |
With all graphic formats |
Treat As
PARAMETER |
TREATAS |
Purpose |
This parameter forces the converter to treat the input file as a particular type of CAD drawing despite what the file extension might be. For instance, a valid MicroStation file can have the extension .PCF instead of the normal .DGN. Using -TreatAs=DGN forces the PCF file to be processed as a DGN file. |
Example |
-TREATAS=DGN |
Values |
DGN - Treat as MicroStation Design file (DGN) |
|
DWF - Treat as AutoCAD DWF file (usually for .W2D file) |
|
DWG - Treat as AutoCAD DWG file (usually for .BAK file) |
|
DXF - Treat as AutoCAD DXF file (for completeness) |
Alias |
None |
Use |
With all graphic formats |
XPath
PARAMETER |
XPATH |
Purpose |
This parameter define an alternate path to search for orphaned x-refs (x-refs where there normal path does not exist). |
Example |
-xpath=c:\temp |
Alias |
-XP |
Use |
With all formats |
Last updated on 16 Oct 2023
Published on 6 Jan 2021