Set Representation Control Point By Angle (Cartography)


Places a representation control point at vertices along a line or polygon boundary where the inner angle is less than or equal to a specified maximum angle.


Set Representation By Control Point tool
Dash placement can be improved along a line when representation control points are placed at prominent angles



SetRepresentationControlPointByAngle_cartography (in_features, maximum_angle)
ParameterExplanationData Type

The input feature layer containing line or polygon representations.


The angle used to determine whether or not a vertex along a line or polygon boundary will be set as a representation control point. The angle value must be greater than zero and less than 180 decimal degrees.


Code Sample

SetRepresentationControlPointByAngle tool Example (Python Window)

The following Python window script demonstrates how to use the SetRepresentationControlPointByAngle tool in immediate mode.

import arcpy
from arcpy import env
env.workspace = "C:\data"

arcpy.SetRepresentationControlPointByAngle_cartography("trails.lyr", "135")
SetRepresentationControlPointByAngle tool Example (stand-alone Python script)

This stand-alone script shows an example of using the SetRepresentationControlPointByAngle tool.

# Name:
# Description: adds representation control points at locations where a feature has a sharp angle in its geometry
# Import system modules
import arcpy
from arcpy import env

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

# Set local variables
in_representations = "trails.lyr"
minimum_angle_deviation = "135"

# Execute Set Representation Control Point At Intersect
arcpy.SetRepresentationControlPointAtIntersect_cartography(in_representations, minimum_angle_deviation)


This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: No
ArcInfo: Yes