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 Lines To Polygon Features

Available with Advanced license.

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Converts CAD lines and points to polygon feature classes. This work flow is a starting point to turn CAD lines into ArcGIS polygons.

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

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})
ParameterExplanationData 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

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