Convert Control Points To Vertices (Cartography)

Summary

Converts control points in a line or polygon feature layer to vertices.

Illustration

Convert Control Points To Vertices tool illustration
The four diamond-shaped control points on the example polygon are converted to regular vertices after running the tool.

Usage

    Caution:

    This tool modifies the input data. See Tools that modify or update the input data for more information and strategies to avoid undesired data changes.

  • Control points are vertices that are used to control the appearance of certain symbol effects such as dashed lines. Use this tool to remove control points from all input features.

  • Vertices will not be removed.

  • Control points are not supported on shapefiles.

Parameters

LabelExplanationData Type
Input Features

The line or polygon input features containing control point geometry that will be converted to vertices.

Feature Layer

Derived Output

LabelExplanationData Type
Updated Features

The updated input features.

Feature Layer

arcpy.cartography.ConvertControlPointsToVertices(in_features)
NameExplanationData Type
in_features

The line or polygon input features containing control point geometry that will be converted to vertices.

Feature Layer

Derived Output

NameExplanationData Type
updated_features

The updated input features.

Feature Layer

Code sample

ConvertControlPointsToVertices example 1 (Python window)

The following Python window script demonstrates how to use the ConvertControlPointsToVertices function in immediate mode.

import arcpy
arcpy.env.workspace = "C:\data"
arcpy.cartography.ConvertControlPointsToVertices("roads.lyrx")
ConvertControlPointsToVertices example 2 (stand-alone script)

This stand-alone script shows an example of using the ConvertControlPointsToVertices function.

# Name: ConvertControlPointsToVertices_standalone_script.py
# Description: Converts control points on a line or 
#              polygon layer into vertices.

# Import system modules
import arcpy

# Set environment settings
arcpy.env.workspace = "C:/data"

# Set local variables
in_layer = "roads.lyrx"

# Execute Convert Control Points To Vertices
arcpy.cartography.ConvertControlPointsToVertices(in_layer)

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: No
  • Advanced: Yes

Related topics