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 with Attribute of Nearest Point

Available with Advanced license.

  • Summary
  • Usage
  • Syntax
  • Environments
  • Licensing information

Summary

Generate a feature class from CAD objects and point features that are nearest to those CAD features.

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

Usage

  • The output feature class will include the attributes of the nearest points.

  • This tool can be useful in associating text, blocks, or cells and their attributes with lines, points, and polygons.

Syntax

arcpy.samples.CADtoFeatureClasswithAttributeofNearestPoint(input_CAD_file, output_feature_class, {main_features_filter_expression}, {select_near_points_or_annotation}, {near_point_filter_expression}, {search_radius}, {select_output_feature_type})
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
main_features_filter_expression
(Optional)

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

SQL Expression
select_near_points_or_annotation
(Optional)

The type of near point objects whose attributes are associated with the output features.

String
near_point_filter_expression
(Optional)

The SQL query expression that will be used to select records from the Near feature class.

SQL Expression
search_radius
(Optional)

The maximum distance used to attach the point or annotation attributes to output features.

Linear Unit
select_output_feature_type
(Optional)

The output feature class type that will be created.

String

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: No
  • Standard: No
  • 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