# Exercise 2: Interacting with representation properties

This topic applies to ArcEditor and ArcInfo only.

Complexity: Beginner Data Requirement: ArcGIS Tutorial Data Setup Data Path: C:\ArcGIS\ArcTutor\Representations Goal: Understand how to interact with feature class representations and how representation rules drive the way features are displayed on a map.

In this exercise, you will work in ArcMap to understand how to interact with feature class representations and how representation rules drive the way features are displayed on a map. You will start by learning how to add a representation rule to one of the feature class representations you created in Exercise 1. You will learn to interact with marker, line, and fill symbology as defined by representation rules. You will learn how to modify representation rules by adding and modifying symbol layers and geometric effects.

As you work on this exercise, keep in mind that representation properties cannot be changed on the Layer Properties dialog box when an edit session is open.

## Examining representation rules

Steps:
1. Continue with the map document from Exercise 1 or open Exercise_2.mxd.
2. Ensure that the Editor and Representation toolbars are visible. If not, click Customize > Toolbars and add each toolbar.
4. Click the Symbology tab.

The RoadL_Rep layer is symbolized with the RoadL _Rep feature class representation, which contains four representation rules. These four rules have been translated from the four symbol categories present in the original symbolized layer from which the feature class representation was derived.

5. Click the third representation rule, Class 2, in the list. The right side of the dialog box shows the properties of that representation rule.

The Class 2 representation rule consists of three stroke symbol layers, indicated by the three stacked tabs showing a stroke squiggle.

6. Click the first (topmost) line tab in the list of symbol layers.

This symbol layer includes the Dashes geometric effect to place red solid lines in alternating intervals along the linear geometry of the feature. This symbol layer is at the top of the symbol layer stack for this rule, so it is the last to draw and therefore appears above the other two symbol layers.

7. Click the second, then the third line symbol layer tabs in this representation rule.

Neither of these symbol layers includes a geometric effect. The bottommost symbol layer is a solid, thick black line and is the first to be drawn. The second symbol layer is a slightly thinner, white line. Together they give the appearance of a cased line symbol.

8. Click OK to close the Layer Properties dialog box.
9. Repeat steps 4 through 10, if desired, to see how other symbol categories were translated into representation rules when you created feature class representations in Exercise 1.

Steps:
1. Click Bookmarks > 1) Buildings.
3. Click the Create New Rule button to add a new representation rule to the BuildingP_Rep feature class representation.

4. Click the Layer Options button and click Units > Points.
5. Click the name of the new rule, Rule_2, to select it.

Type New Buildings to rename it.

The New Buildings representation rule consists of a single marker symbol layer with a default representation marker (a 5-point black square). You are going to change this to a 2-point red square instead.

6. Inside the marker symbol layer, click the black square representation marker.

The Representation Marker Selector dialog box opens.

7. Click Properties.

The Marker Editor opens with the black representation marker filling the canvas.

8. Use the Select Part tool to select the representation marker.

A representation marker is made up of symbol layers and geometric effects just as representation rules are. This representation marker consists of a single fill symbol layer, filling the square with solid black.

9. Click the swatch next to the Color property in the fill symbol layer and choose a red from the palette that opens.

The representation marker turns red.

10. Click OK to close Marker Editor, then click OK to close the Representation Marker Selector dialog box.
11. Click the Size property text box. Type 2 and press ENTER.

The New Buildings representation rule is now symbolized with a marker symbol layer containing a 2-point red square.

12. Click OK.

A Warning dialog box appears to let you know that the changes you are making to a rule will be stored in your database.

Click OK to accept and close the warning. View the results and notice that the points are still symbolized with the default symbol. They are symbolized this way because their values in the RuleID field are all set to 1.

## Applying new representation rules to features

Steps:
1. Right-click the BuildingP_Rep layer in the table of contents and click Selection > Make this the only selectable layer.
2. Select some of the buildings in the current view using the Select tool on the Representation toolbar.

3. Open the Representation Properties window using the Representation Properties button on the Representation toolbar.
4. On the Representation Properties window click the Representation rule pull-down list and choose the New Buildings rule to apply to all the selected buildings.

5. Close the Representation Properties window, save your edits, then stop editing.
6. Open the layer properties of BuildingP_Rep.
7. Choose the New Buildings representation rule.
8. Type 45 for the Angle value.

9. Click Apply and move the dialog box out of the way to see the changes.

Note that all buildings following this representation rule are now angled 45 degrees from horizontal.

Now you will learn how to set unique angle values for each building. Stop editing and save edits.

10. Open the Layer Properties dialog box again. Click the Display field overrides button . This will tell the Angle property to find its values from within the database.
11. Choose the Angle field from the pull-down list to be the explicit field for the angle property.

12. Click OK.

Note that the buildings are now angled according to the values stored in the Angle attribute field of the data.

## Adding geometric effects to representation rules

According to new specifications for the map, the symbol for trails must change to a double dashed line instead of the single black line as found in the old map. To accomplish this task, you will add some geometric effects to the representation rules. Adding geometric effects does not alter the underlying geometry of your features; rather, they allow you more control over the way your features are symbolized.

Steps:
1. Click Bookmarks > 2) Trail and Swamp.

2. Make TrailL_Rep the only selectable layer.
3. Open the Layer Properties dialog box for TrailL_Rep.
4. Click the representation rule named Trail and click the line symbol layer.

5. Click the Add button to see the Geometric Effects dialog box.

6. Expand the Line input folder and click Offset.

7. Click OK to close the Geometric Effects dialog box and add the Offset geometric effect to the rule.
8. In the Offset text box, type 0.5 for the value.
9. Add a new layer to this representation rule by clicking the Add New Stroke Layer button as shown below. Notice that a new layer is added to the rule.

Note that the newly added stroke layer has the default line width of 1.

10. Type 0.5 in the Width text box.
11. You will now add a line-to-line Offset geometric effect in this new stroke layer, just as you did before in steps 5 and 6.
12. For this stroke layer, however, type -0.5 in the Offset text box.
13. Click Apply to see the result on the map.

Geometric effects can be added to an individual symbol layer in a representation rule as you have just seen above. They can, however, be applied to all layers as well. To apply a geometric effect to all the symbol layers in a representation rule, it must be added as a global effect. You will learn how to make this happen.

14. Click the top-level tab to expand the global effects section of the rule. You will see a message indicating that there are no global effects at this time.

15. Click the Add button to open the Geometric Effects dialog box.
16. Choose the Dashes geometric effect from under the Line input heading and click OK.

A new dialog box is added to the global effects section of the representation rule. Note the default values provided for dash pattern symbology.

17. To change the values, type 3 1 in the Pattern text box. Be sure to include a space between the two numbers.

18. Click OK to see the result.

Notice that global effects impact all symbol layers.

## Adding markers to polygon symbology

Steps:
1. Open the Layer Properties dialog box for WetlandsA_Rep.
2. Choose the swamp representation rule.

In the original map, swamps are symbolized simply with the color Sodalite Blue. You will add a marker symbol layer to the representation rule to make the swamp symbology more user-friendly.

3. Click the Add New Marker Layer button .

Notice that a default representation marker and marker placement style is included with the new symbol layer.

4. Click the black square representation marker to open the Representation Marker Selector dialog box.
5. Click the Swamp symbol from the Representation Marker Selector dialog box and click OK.

6. Type 3 in the Size text box to change the size.

Notice that the default marker placement style Polygon center is included in this marker symbol layer, which places only one marker in each polygon. Instead, you will change the marker placement style to one that puts many markers within the polygon.

7. Open the Marker Placements dialog box by clicking the arrow next to the placement label.

8. Under the Polygon input heading, choose Randomly inside polygon.

9. Click OK to close the Marker Placements dialog box.

10. Click OK to close the Layer Properties dialog box.

You can now see that there is a pattern of random swamp symbols.

11. If you want to proceed to the next exercise, leave ArcMap open.
12. If you want to return to this tutorial later, save this map document as Exercise_two.mxd and exit ArcMap.

## Congratulations, you’ve completed exercise 2.

Things created and accomplished in this exercise:

• Adding a new rule to a feature class representation
• Setting only one selectable layer
• Editing representation properties
• Choosing the type of unit measurement
• Interacting with the Representation Properties dialog box
• Mapping representation rules to explicit fields
• Adding a new marker layer to a representation rule
• Interacting with the Marker Placements dialog box
• Using the Marker Editor and Marker Selector dialog boxes
• Changing properties of a marker layer
• Adding a new stroke layer to a representation rule
• Changing properties of a stroke layer
• Interacting with the Geometric Effects dialog box
• Adding the Offset geometric effect and Dashes geometric effect
• Changing properties of geometric effects