Rotating Representation Symbols
I have a point feature class representing geologic structural measurements. There are ~60 unique classifications of these measurements, each with it's own symbol. All of the symbols, however, need to be rotated based on a "Rotation" field in the featureclass. I found that I could rotate symbols by displaying field overrides, and specifying the field in the "Angle" picklist.
My question is, do I need to go through the 60 some representation rules one by one to set the rotation? This would be a big loss, as doing this sort of thing with an old unique value renderer was very quick and easy. Not to mention that I don't get to choose between geographic or arithmetic rotation.
Mapping Center Answer:
Okay, so the problem here is that each representation rule has to have it's rotation angle field individually assigned. There is no way to automate this in the user interface. This can be automated using ArcObjects. If you're trained or inclined to ArcObjects, the help on the resource centers has some examples that will get you started:
In the above topic, the example shows how to iterate over the representation rules in a given represenatation class. In your case you'd then then get the layer (as a IBasicMarkerSymbol) and then its attributes (IAttributes2), then the GeometricEffectRotate and set its value. I'd interactively set the first rule to use the database field to see what that value is and then just set the other rules to use that value.
If you would like to post a comment, please login.