ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

CAD To Feature Class

  • Summary
  • Usage
  • Syntax
  • Environments
  • Licensing information

Summary

Converts objects from a CAD file to a defined feature class type along with the point features that are near those CAD features.

Legacy:
This tool has been deprecated. For more information, see An overview of the Samples toolbox.

Usage

  • If you change the visibility of a field from the Field control parameter to false, you will omit that field from the output feature class.

  • Complex feature classes, such as annotation and dimensions, are not supported by this tool.

  • If a SQL expression is used but returns nothing, the output feature layer will be empty.

Syntax

arcpy.samples.CADtoFeatureClass(input_CAD_file, output_feature_class, {select_feature_class_type}, {filter_expression}, {modify_output_fields})
ParameterExplanationData Type
input_CAD_file

The CAD file that will be converted to an ArcGIS feature class.

CAD Drawing Dataset
output_feature_class

The feature class that will be created from the input CAD file.

Feature Class
select_feature_class_type
(Optional)

The geometry type of the output feature class or shapefile.

String
filter_expression
(Optional)

The SQL query expression that will be used to select records.

SQL Expression
modify_output_fields
(Optional)

The field info is used to review and alter the field names for the new layers fields. Fields can be hidden, and a split policy can be specified.

Field Info

Environments

  • Current Workspace
  • Default Output Z Value
  • Output CONFIG Keyword
  • Output M Domain
  • Output XY Domain
  • Output Z Domain
  • Output Coordinate System
  • Extent
  • Output has M values
  • Output Spatial Grid 1
  • Output Spatial Grid 2
  • Output Spatial Grid 3
  • Output Spatial Grid 1
  • Output Spatial Grid 2
  • Output Spatial Grid 3
  • Output Spatial Grid 1
  • Output Spatial Grid 2
  • Output Spatial Grid 3
  • Scratch Workspace

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal