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.

步骤:
  1. Start ArcMap.
    提示提示:

    If the ArcMap - Getting Started dialog box appears, you can open a new or existing map document. You can also check the Do not show this dialog box in the future check box and click Open.

  2. Click the Add Dynamic Text button Add Dynamic Text on the MPS Atlas toolbar.

    A crosshair with a letter A appears.

  3. Click anywhere in the map sheet layout.

    A piece of dynamic text is inserted on the page.

  4. Double-click the dynamic text.

    The Dynamic Text Properties dialog box appears.

  5. Click the Dynamic Text tab if necessary.
  6. Click the Dynamic Text drop-down arrow and choose Feature Class.
  7. Click Insert.

    The Feature Class text appears in the text box.

  8. Click the dynamic text element in the text box.

    The Feature Class Dynamic Text Properties dialog box appears.

    Feature Class Dynamic Text Properties dialog box
  9. Click the Browse button Browse to navigate to the feature class you want to use.

    The Feature Class text box is populated with the feature class.

  10. Click Query Builder to select a subset of rows from the feature class.

    The Select Features Using a Query dialog box appears.

    Learn more about defining a SQL query in Production Mapping

  11. Click the Expression option.
  12. Click Edit Script.

    The Expression Parser dialog box appears.

    Feature Class Dynamic Text Expression Parser dialog box
  13. In the Expression area, click to right of the Generate = expression.
  14. 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.

  15. Click Verify.

    The Output area lists Function evaluated successfully.

  16. Click OK to close the Expression Parser dialog box.
  17. Click OK to close the Feature Class Dynamic Text Properties dialog box.
  18. Click OK to close the Dynamic Text Properties dialog box.

    The feature class dynamic text displays in the page layout.


9/23/2010