Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Cartography toolbox > Symbolization Refinement toolset > Tools

Calculate Polygon Main Angle (Cartography) (ArcInfo only)

Release 9.2
Last modified July 13, 2007
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Calculates the main angles of the input polygon features and assigns the angle values to the specified field in the feature class that contains the polygon features.


Usage tips

Command line syntax
An overview of the Command Line window
CalculatePolygonMainAngle_cartography <in_features> <angle_field>

Parameter Explanation Data Type
<in_features>

The input polygon features.

Feature Layer
<angle_field>

The field that will be updated with the polygon main angle values.

Field
Data types for geoprocessing tool parameters


Command line example

CalculatePolygonMainAngle_cartography c:\workspace.mdb\buildings bldg_angle

Scripting syntax
About getting started with writing geoprocessing scripts
CalculatePolygonMainAngle_cartography (in_features, angle_field)

Parameter Explanation Data Type
in_features (Required)

The input polygon features.

Feature Layer
angle_field (Required)

The field that will be updated with the polygon main angle values.

Field

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "c:\Workspace.mdb"
gp.toolbox = "cartography"
gp.CalculatePolygonMainAngle("buildings", "bldg_angle")

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.