Adding a feature class as dynamic text using an expression
Feature class dynamic text can be added to the map sheet using a VBScript expression via the Expression Parser dialog box.
- Start ArcMap.
-
Click the Add Dynamic Text button on the MPS Atlas toolbar.
A crosshair with a letter A appears.
-
Click anywhere in the map sheet layout.
A piece of dynamic text is inserted on the page.
-
Double-click the dynamic text.
The Dynamic Text Properties dialog box appears.
- Click the Dynamic Text tab if necessary.
- Click the Dynamic Text drop-down arrow and choose Feature Class.
-
Click Insert.
The Feature Class text appears in the text box.
-
Click the dynamic text element in the text box.
The Feature Class Dynamic Text Properties dialog box appears.
-
Click the Browse button to navigate to the feature class you want to use.
The Feature Class text box is populated with the feature class.
-
Click Query Builder to select a subset of rows from the feature class.
The Select Features Using a Query dialog box appears.
- Click the Expression option.
-
Click Edit Script.
The Expression Parser dialog box appears.
- In the Expression area, click to right of the Generate = expression.
- Double click a field name in the Parameter list.
In the Expression area, the field name appears to the right of Generate =: Generate = [NAME].
ヒント:Double click a field name without an _arr suffix.
- Click Verify.
The Output area lists Function evaluated successfully.
- Click OK to close the Expression Parser dialog box.
- Click OK to close the Feature Class Dynamic Text Properties dialog box.
- Click OK to close the Dynamic Text Properties dialog box.
The feature class dynamic text displays in the page layout.