DXF OUT (DxfOut) Type: Translator
Translates VrOne file(s) to DXF (Drawing Exchange Format).
The DXF format is commonly used to translate map data to Autodesk’s AutoCAD program. Due to the popularity of the format, it is used by many other CADD and GIS (Geographic Information Systems) systems for the transfer of map vector data. From GIS to civil engineering systems, DXF is considered the de-facto standard for moving vector data. Experience has shown that DXF is well suited to move vector data to the ARC INFO GIS system.
The DXF format is not without some problems when dealing with map data. While symbols and text translate very easily, three-dimensional and fonted (patterned) lines do not. These map features require some additional options.
The VrOne DXF Out translator is very flexible and offers many options for translating VrOne map data to AutoCAD.
Each symbol definition in VrOne may be translated to DXF in one of four different ways. It may be translated as a Block, exploded, placed as text, or translated as a DXF point. Symbol names may also be cross-referenced to a client’s block library and a scale factor may be applied to adjust the size.
Each VrOne line font may be translated to DXF in one of four different ways. It may be translated to a DXF line style, exploded, use a symbol line, or be translated using DXF bulges.
Because of the many options offered by DXF Out, you should communicate with your client to discuss the options and determine the best translation method to suit their needs. Time should be spent familiarizing you with the options offered and test translations should be done to AutoCAD to view the translation results. Dxf Out can translate map data using very basic translation parameters, which will produce lines with no line fonting, or advanced translation options may be used to produce a readable and usable map for your client.
This documentation will point out the advantages and disadvantages to many of the translation options.
AutoCAD is a registered trademark of Autodesk Inc.
Available Key-ins
DXF Out
Loads previously recorded DXF Out (.dxo) parameter file. Records current translation parameters to a DXF Out (.dxo) parameter file. Initializes translation parameters to default values. NOTE: Current translation parameters will be lost.
Allows editing of general translation parameters.
Translation Mode? Determines how DXF files will be written.
Dxf file name File name to write DXF translated data to. If this file exists, it will be overwritten. Output directory Output directory to place DXF files if not using Single File translation mode. If left blank, then files will be placed in the same directory as the VrOne files. Workspaces to consider When translating VrOne data to a DXF file this parameter defines the workspaces to use. Options are “Current only” or “All open”. When “All open” is used all open workspaces will be translated into a single DXF file. AutoCAD release Defines the AutoCAD release format to use when translating. Options are 9, 10, 11, 12, and 13. Currently, AutoCAD Release 14 and AutoCAD 2000 support files written in Release 13. File dimension This parameter determines the method to translate elevations to DXF. It is possible to override this option per layer by using the Layer Table cross-reference dialog. Options are:
In some versions of AutoCAD operations such as joining lines is not allowed on 3D lines in which the elevation of the line points were not the same. The last two options are variations on the 3D option. File accuracy for XYZ The number of places to the right of the decimal point for the coordinate positions written to the DXF file is defined by this parameter. Defines how line types will be referenced in the DXF file. Each DXF file has a layer table that defines a layer name, the layer line type and the layer color. Options are:
Defines how colors will be referenced in the DXF file. Each DXF file has a layer table that defines a layer name, the layer line type and the layer color. Options are:
Arc mode VrOne supports lines that are defined as arcs. This parameter defines the method to translate these arcs. Options are:
Output file VrOne can write DXF file in ASCII (text) format or DXF binary format. The two formats are the same with the binary format taking less disk space. If disk space is not an issue on your computer it is suggested that the ASCII format is used. Output line mode Lines may be written as DXF polylines or DXF lines.
It is possible to cross a VrOne symbol to a DXF point during translation. AutoCAD allows only one graphic representation for a point and this parameter defines this representation. Points are often used to translate DTM (Digital Terrain Model) XYZ points to systems that do not understand DXF blocks. Normally the VrOne X symbol is cross-referenced to a DXF point definition 3, which is shown graphically as an X. There are twenty possible settings for the point display mode but only one is active in a DXF file. If there are no symbols cross-referenced to DXF points in “Cross-Reference Symbols” then this parameter is ignored during translation. DXF point display radius (in|mm) It is possible to cross a VrOne symbol to a DXF point during translation. AutoCAD allows only one graphic representation for a point and this parameter defines the display radius for the point. This parameter is entered as inches or millimeters at target scale. Points are often used to translate DTM (Digital Terrain Model) XYZ points to systems that do not understand DXF blocks. Normally the VrOne X symbol is cross-referenced to a DXF point definition 3, which is shown graphically as an X. If there are no symbols cross-referenced to DXF points in “Cross-Reference Symbols” then this parameter is ignored during translation. Global Block Scale This is scale factor that will be applied to all symbols that have a cross-reference scale factor of -1.0. This allows a translation to be made where all blocks in the DXF have a uniform scale factor regardless of the symbol sizes in VrOne. NOTE: The Reset Symbol Scale Factors can be used to quickly set all symbols cross-references to use a scale factor of –1.0. Write entities Section only If set to yes, then only the entities section of the DXF will be written. This eliminates all header information such as Layer tables, Linestyle tables, and Block definitions from the DXF files. This can be useful in some versions of AutoCAD where an existing drawing can be used when importing a DXF file. In this situation, all of the existing block definitions and layer table settings in the current AutoCAD drawing remain intact. Turn unused layers off Each DXF file has a layer table that defines a layer name, the layer line type and the layer color. If this parameter is set to yes then only layers that are used in the VrOne file(s) will be placed in the layer table. Since VrOne allows 10,001 layers, if this parameter is set to no then 10,001 entries will be placed in the DXF layer table. Write unused blocks Each DXF file has a block table that defines all of the blocks that will be used in the drawing. If this parameter is set to No then only blocks that are used in the DXF file(s) will be placed in the block table. If set to Yes, then all blocks defined in the current Symbol file will be written to the block table, regardless of whether they are used or not. Source for block definitions Normally the DXF Out translator reads a VrOne symbol file and creates DXF blocks to represent symbols. There may be times in which the client has defined their own block library and wishes you to cross-reference the VrOne symbols to their blocks. Options are:
Notes on using “Other DXF file”:
Other DXF file for Block definitions If the “Source for block definitions” is set to “Other DXF file” then this parameter defines the DXF file that contains the block definitions to copy to the current DXF file. The […] browse button may be pressed in this field, which allows browsing for the target DXF file. Symbol library Allows an alternate symbol library to be used during the translation. If this is left blank then the currently attached symbol library will be used. If a VrOne symbol library is specified, the symbol definitions from the specified library are used during the translation. AutoCAD uses a layer table, which defines layer names. Within each layer a line type, color and display status (on/off) are stored. The VrOne DXF Out translator creates this table and places it in each DXF file created.
VrOne uses layer numbers and has 10,001 predefined layers. AutoCAD uses layer names. Each layer name may be up to 32 characters in length. It is possible to name layers in VrOne but the names are only for reference and VrOne references all layers by number.
An easy way to define this table is supplied by using the “Add VrOne Layers to Layer Table” option. This scans the current VrOne file(s) and creates a layer table entry for each layer used. NOTE: If layer names have been defined in VrOne then those layer names will be used in the table. If a layer name has not been defined in VrOne then the layer number will be used with the word “Layer” before the number.
The Edit DXF Layer Table dialog box allows editing of the DXF layer table. If “Define line types” is set to “By entity” in Edit Parameters then the Line Type definition in this table is ignored and may be left CONTINUOUS. If “Define colors” is set to “By entity” in Edit Parameters then the Color definition in the table is ignored and may be set to 1. All layers should be tuned on. The layer table may also be edited in AutoCAD. VrOne Layer This parameter specifies the VrOne input layer. Dxf layer name This parameter specifies the DXF layer name that will be used for entities in the current VrOne Layer. Dxf line type name This parameter specifies the DXF line type name that will be used for entities in the current VrOne Layer. Dxf color This parameter specifies the DXF color that will be used for entities in the current VrOne Layer. Dxf layer on This parameter specifies if the current VrOne Layer will be translated or not. Dxf dimension This parameter determines the method to translate elevations to DXF for the current VrOne layer. Options are:
In some versions of AutoCAD operations such as joining lines is not allowed on 3D lines in which the elevation of the line points were not the same. The last two options are variations on the 3D option. If any VrOne line fonts are to be cross-referenced to DXF line styles, this dialog may be used to create DXF line styles. By definition DXF line styles consist of lines as dashes but are useful when defining VrOne line fonts that are dashed lines. Up to 60 line styles may be defined. Advantages: DXF lines styles allow the client to edit lines and make the map more readable. Disadvantages: If line points are closer than the line style distance then the line may be drawn as solid in AutoCAD.
In the above dialog box only the CONTINUOUS line style is defined and represents a solid line. The line styles defined here may be cross-referenced to VrOne line fonts in “Cross-Reference Line Fonts”. While not a feature of AutoCAD or VrOne it is possible to create special line types called symbol lines. A symbol line is a line with DXF blocks placed at user-defined intervals along the line. Symbol lines offer mapping symbolization and give the client editing capability in AutoCAD. After a symbol line has been created it may be cross-referenced to a VrOne line font in “Cross-Reference Line Fonts”.
Symbol Lines This list box displays the current symbol lines that have been defined. An entry of Empty means the symbol line has not been defined. Clicking an entry will copy the settings to the edit fields where they may be changed. Name The name of the symbol line may be entered here. This name will be available in “Cross-Reference Line Fonts”. Symbol spacing (in|mm) Distance to place the symbols along a line. This parameter is entered in inches or millimeters at target scale. Symbol radius (in|mm) Defines the size of the symbols that are placed along the line. This parameter is entered in inches or millimeters at target scale. Center Symbols along length of line If this is on, then placement of symbols will be adjusted so that the first and last symbols placed are equal distances from the begin and end of the line. This is useful if you are trying to line a symbol up on a dashed line type, as AutoCAD displays line types using this method. Symbol offset (along line) (in|mm) Each symbol will be offset by this amount along the direction of the line. A negative number can be used to offset in the reverse direction of the line. . This parameter is entered in inches or millimeters at target scale. Symbol placement interval Symbols will be placed at this interval. Use 1 to place a symbol at the spacing defined. Use a value of 2 to place every other symbol, etc. This is useful when using the center option to align symbols to dashed AutoCAD line types. In this case, the Symbol spacing must match the dash-space length of the line type to compute the alignment correctly, but you may not want symbols plotted as frequently as the line type is defined. Vr symbol graphic pointer (1-1000) Defines the VrOne symbol to use to place along the line. Symbol/Line mode Defines the symbol/line placement mode. Options are:
Layer mode Determines the layer that the symbols are placed on. Options are:
Layer This layer name is used according to the Layer mode setting. This dialog defines the settings for the cross-referencing of VrOne line fonts to DXF. Each VrOne line font may be translated to DXF in one of four different ways. It may be translated to a DXF line style, exploded, use a symbol line, or be translated using DXF bulges.
VrOne Line Fonts This list box displays the VrOne line font names for the current VrOne symbol file. Clicking an entry will copy the settings to the edit fields where they may be changed. Cross-reference mode Defines the cross-reference mode for the currently selected VrOne line font. Options that are not valid for a cross-reference mode will be dimmed. Options are:
DXF line type name It the “Cross-reference mode” is set to “Use DXF line style” then a line style may be selected here. Line styles may be created using “Edit DXF line types”. Symbol line name It the “Cross-reference mode” is set to “Use symbol line” then a symbol line may be selected here. Line styles may be created using “Edit symbol lines”. Bulge parameter It the “Cross-reference mode” is set to “Use bulge” then the bulge parameter, which defines the degree of arc, is defined here. Bulge radius (in|mm) It the “Cross-reference mode” is set to “Use bulge” then the bulge radius is defined here. This parameter is entered in inches or millimeters. This dialog defines the settings for the cross-referencing of VrOne symbols to DXF. Each symbol definition in VrOne may be translated to DXF in one of four different ways. It may be translated as a Block, exploded, placed as text, or translated as a DXF point. Symbol names may also be cross-referenced to a client’s block library and a scale factor may be applied to adjust the size.
VrOne Symbols This list box displays the VrOne symbol names for the current VrOne symbol file. Clicking an entry will copy the settings to the edit fields where they may be changed. Cross-reference mode Defines the cross-reference mode for the currently selected VrOne symbol. Options that are not valid for a cross-reference mode will be dimmed. Options are:
DXF block name It is possible to rename the VrOne symbol when translating to a DXF block. This is normally used when using a client’s block library. Block scale factor This scale factor is applied to the block size when translating a VrOne symbol to a DXF block. It is normally used when using a client’s block library and scaling is needed to place the block at the same size. Symbol text If the “Cross-reference mode” is set to “Place text” the text defined here will be placed instead of a symbol. The size of the text will be the radius of the symbol. VrOne supports 12 text fonts and these font styles are cross-referenced to match the text font styles in AutoCAD. By default this cross-reference is set to the best match between VrOne and AutoCAD text font styles and should not need to be modified.
Scans open VrOne file(s) and copies the layers used to the DXF layer table. “Edit Layer Table” may be used to cross-reference VrOne layer numbers to AutoCAD layer names. If layer names have been defined in VrOne then those layer names will be used in the table. If a layer name has not been defined in VrOne then the layer number will be used with the word “Layer” before the number.
Resets all scale factors to –1.0 in the Symbol Cross-Reference table. This is useful if the Global Scale Factor is used to set a uniform scale for all symbols. The following prompt is displayed after pressing this button.
Load CADMAP Parameter File Loads a CADMAP parameter file (.ACO) and translates it into the current translation parameters. Translates the current VrOne file(s) using the current translation parameters into a DXF file. Help Starts the browser and displays the current help document. Quit Quits Dxf Out and gives an option to save the current parameters.
The following may be done to translate VrOne file(s) to a DXF file in the fewest possible steps. The result will be a translation in which all lines will be translated as solid. Symbols will be translated as blocks and text labels will be translated with the proper text font styles.
|