DWG2DGD

Use this to import the design data contained in a nominated drawing file (.dwg and .dxf) into a Vulcan design database.


Usage:

dwg2dgd <dwg_filename> <dgd_filename> [-flags [layer_name] [max_triangles]]



<> indicates a mandatory switch.

[ ] indicates an optional switch.

Where:

Option Description
dwg_filename Refers to the name of the drawing file containing the data that you want to import.
dgd_filename Refers to the name of the design database file that will be used to store the imported data. To create a new design database, enter the name for the new file.
o Use this to automatically overwrite existing layers.
e Use this to maintain the exact location of all lines when importing a multiline text object. The imported text object will be separated into single line objects that will preserve the positioning based on the line spacing in the corresponding data file.
If this switch is omitted, then the lines of the multiline object will be imported as a single object. In this case only the first line is ensured to be at the right location whereas the position for subsequent lines of text will be based on the line spacing and font size.
l Use this to load all imported data into a single layer.
f Use this to specify whether or not to use feet as the scaling metric. Metres will be used if this switch is omitted.
i Use this to ignore the unit settings stored in the chosen files. We recommend that you use this switch to prevent co-ordinates from being converted because of mismatching unit settings.
t Use this to specifiy whether extruded entities are imported as triangulations. An extruded entity is a polygon that models a surface.
p This flags enables partitioning of AutoCAD triangulations for conversion to Vulcan. When this is set, use max_triangles to set the number of triangles for each partition.
layer_name Refers to the name of the layer that will be used to store the imported data. If the nominated layer already exists, and you have chosen to omit the -o switch, then you will need to confirm whether to overwrite or skip the existing layer. This will need to be done for each duplicate layer found.
If you specify a value for <layer_name>, then you must use l.
max_triangles If p is set an AutoCAD triangulation will be partitioned into smaller triangulations. max_triangles sets the maximum number of triangles used in each of these smaller triangulations. By default this is set to 500 000.
If you specify a value for <max_triangles>, then you must use p.

Example:

dwg2dgd southarea.dwg allmine.dgd.isis -l south_area