Summary
Converts objects from a CAD file to a defined feature class type along with the point features that are near those CAD features.
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})
Parameter | Explanation | Data 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