Available with Advanced license.
Summary
Converts CAD lines and points to polygon feature classes. This work flow is a starting point to turn CAD lines into ArcGIS polygons.
Usage
The label features parameter allows for a feature class of label attributes to be applied to the output polygons.
This sample model creates polygons from lines and points while adding attributes of the points to the polygons.
Syntax
arcpy.samples.CADLinestoPolygonFeatures(input_boundary_lines, input_label_points, output_polygon_feature_class, {boundary_line_filter_expression}, {point_filter_expression})
Parameter | Explanation | Data Type |
input_boundary_lines | The bounding line feature class that will be used to create polygons. | Feature Layer |
input_label_points | Specifies the feature class containing the label points that will be applied to the output polygons. | Feature Layer |
output_polygon_feature_class | The output feature class that will contain the newly formed polygon features. | Feature Class |
boundary_line_filter_expression (Optional) | The parameter to build a query to select line feature classes to create polygons. | SQL Expression |
point_filter_expression (Optional) | The parameter to build a query to only use select point feature classes to create polygons. | SQL Expression |
Code sample
This tool is intended to be used as a model tool.
Environments
- Current Workspace
- Output CONFIG Keyword
- Output M Domain
- Output XY Domain
- Output Z Domain
- Output Coordinate System
- Extent
- Output has M values
- Output has Z 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