To Reference a Named Expression in a Pen Table
- In the DGN file, place a string of text for the user name ($USER$) that you want substituted with something else in the printed output.
-
In the Modify Pen Table dialog’s Global Actions section, click the Text Substitutions button.
The Text Substitutions dialog opens.
-
From the Text Substitutions dialog’s Edit menu, choose Insert New.
An entry labeled "Original" appears in the list box.
- In the Actual field, replace "Original" with $USER$. Text substitution is case sensitive, so make sure that the Actual string is exactly the same as that in the DGN file.
- In the Replacement field, type the replacement string "Current User: $(USERNAME); Author: <expr?name=_Author>."
- Press <Enter> to update the list box entry with the specified strings.
- Close the Text Substitutions dialog.
- Save the pen table.