Calculate Representation Rule (Cartography) (ArcInfo only) |
|
Release 9.2
Last modified July 13, 2007 |
![]() ![]() ![]() Print all topics in : "Tools" |
Applies existing representation rules to features in a feature class representation by calculating the RuleID field.
Usage tips
The input must be a geodatabase feature class with at least one feature class representation.
Specify a representation rule to assign to a feature. The selected feature or features will have their Rule ID field populated with the specified rule.
If the specified Rule ID matches the current Rule ID for a selected feature or features, there will be no change.
Command line syntax
An overview of the Command Line window
CalculateRepresentationRule_cartography <in_features> <representation> <representation_rule>
Parameter | Explanation | Data Type |
<in_features> |
The feature class that contains the features for which representation rules will be calculated. |
Feature Layer |
<representation> |
The feature class representation that contains the representation rules that will be applied to features. This feature class representation must belong to the input feature class. |
String |
<representation_rule> |
The representation rule to be applied to the input features by calculating the RuleID field. |
String |
CalculateRepresentationRule_cartography c:\workspace.mdb\roads roads_Rep Road_SymbID
Scripting syntax
About getting started with writing geoprocessing scripts
CalculateRepresentationRule_cartography (in_features, representation, representation_rule)
Parameter | Explanation | Data Type |
in_features (Required) |
The feature class that contains the features for which representation rules will be calculated. |
Feature Layer |
representation (Required) |
The feature class representation that contains the representation rules that will be applied to features. This feature class representation must belong to the input feature class. |
String |
representation_rule (Required) |
The representation rule to be applied to the input features by calculating the RuleID field. |
String |
import arcgisscripting gp = arcgisscripting.create() gp.workspace = "c:\Workspace.mdb" gp.toolbox = "cartography" gp.CalculateRepresentationRule ("roads", "roads_Rep", "Road_SymbID")