Export to CAD

Title  Export to CAD

Summary

Exports features to new or existing CAD files based on one or more input feature layers or feature classes.


Usage

Syntax

Parameter Explanation
in_features

A collection of feature classes and feature layers whose spatial reference and geometry will be exported to one or more CAD files. Both the feature geometry and the feature attributes will be added to AutoCAD formatted files.

Output_Type

Specifies the CAD platform and file version that will be used for new output CAD files. Multiple versions of CAD software may share one file format version for multiple releases. The choices specify the file format version, not necessarily the software version that may still use a previous file format version.Microstation DGN file—The output type will be Microstation DGN.DWG version 2018—The output type will be DWG version 2018. This is the default.DWG version 2013—The output type will be DWG version 2013.DWG version 2010—The output type will be DWG version 2010.DWG version 2007—The output type will be DWG version 2007.DWG version 2005—The output type will be DWG version 2005.DWG version 2004—The output type will be DWG version 2004.DWG version 2000—The output type will be DWG version 2000.DWG version 14—The output type will be DWG version 14.DXF version 2018—The output type will be DXF version 2018.DXF version 2013—The output type will be DXF version 2013.DXF version 2010—The output type will be DXF version 2010.DXF version 2007—The output type will be DXF version 2007.DXF version 2005—The output type will be DXF version 2005.DXF version 2004—The output type will be DXF version 2004.DXF version 2000—The output type will be DXF version 2000.DXF version 14—The output type will be DXF version 14.

Output_File

The path of the output CAD drawing file. This path will be overridden by any valid file paths included as field values in the input feature's field or alias field named DocPath unless the Ignore Paths in Tables parameter is checked.

Ignore_FileNames (Optional)

Specifies whether valid paths included in the DocPath field of input features will be ignored.Checked—Valid paths will be ignored and the output of all entities will be added to the Output File parameter value. This is the default.Unchecked—Valid paths will be used so that each new CAD entity will be written to the file specified by that field value.

Append_To_Existing (Optional)

Specifies whether entities will be appended to an existing output CAD file or CAD files specified by the Output File parameter or any valid file paths contained in DocPath field values according to the Ignore Paths in Tables parameter will be overwritten.Checked—Entities will be appended to an output CAD file if one exists. The existing CAD file content will be retained.Unchecked—If an output CAD file exists, it will be overwritten. This is the default.

Code Samples

Tags

annotation, arcdxf, autocad, autodesk, bentley, blocks, cad, cells, change, computer aided design, convert, dgn, drawing, dwg, dwt, dxf, export, file, format, gdb, geodatabase, import, make, microstation, properties, seed, semantic, template, translation, turn, xrecords

Credits

Use limitations