ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for 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
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Set Representation Control Point By Angle

  • Summary
  • Illustration
  • Usage
  • Syntax
  • Code Sample
  • Environments
  • Licensing Information

Summary

Places a representation control point at vertices along a line or polygon outline where the angle created by a change in line direction is less than or equal to a specified maximum angle.

Illustration

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

Usage

  • Input features must be a line or polygon layer symbolized with a representation.

  • The modification to vertices is stored as a geometry override on the feature representation.

Syntax

SetRepresentationControlPointByAngle_cartography (in_features, maximum_angle)
ParameterExplanationData Type
in_features

The input feature layer containing line or polygon representations.

Layer
maximum_angle

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

Double

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: SetRepresentationControlPointByAngle_standalone_script.py
# Description: adds representation control points at locations where a feature has a sharp angle in its geometry
# Author: ESRI
 
# 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)

Environments

This tool does not use any geoprocessing environments

Licensing Information

  • ArcGIS for Desktop Basic: No
  • ArcGIS for Desktop Standard: No
  • ArcGIS for Desktop Advanced: Yes

Related Topics

  • An overview of the Cartographic Refinement toolset
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal