Available with Advanced license.
Summary
Generate a feature class from CAD objects and point features that are nearest to those CAD features.
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})
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 |
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