GenerateSymbolRotationAttributeRule

Title  Generate Symbol Rotation Attribute Rule

Description

Creates an attribute rule to populate symbol rotation based on intersecting line features.

Usage

          


License

Standard

Syntax

GenerateSymbolRotationAttributeRule (in_table, out_folder, field, line_classes, {where_clause}, {rotate_towards}, {rotation_style}, {additional_rotation})

Parameter Explanation Data Type
in_table Dialog Reference

The table or feature class that will have the new rule applied.

DEFeatureClass
out_folder Dialog Reference

The folder where the output CSV will be saved. The name of the file is taken from in_table.

DEFolder
field Field
line_classes Dialog Reference

The line feature classes to intersect. The numeric Orientation Field is used as a tie-breaker when there are multiple intersecting lines.

GPValueTable
where_clause (Optional) Dialog Reference

SQL Expression to filter records. Only records that satisfy the query will be calculated.

GPSQLExpression
rotate_towards (Optional) GPString
rotation_style (Optional) Dialog Reference

Defines how direction is measured.

  • Arithmetic - Rotation starts at zero in the east direction and rotation is counterclockwise.
  • Geographic - Rotation starts at zero in the north direction and rotation is calculated clockwise. This is the default.

GPString
additional_rotation (Optional) GPDouble

Code Samples