You are currently reviewing an older revision of this page.
Extract Project ID from file path
User's requirement is to extract the Project ID from the file path and apply Pen Table text substitution
Named Expressions in Conjunction with a Pen Table worked well for this requirement.
Input DGN file: D:\ 1000\ABC101\Grid24.dgnOutput requirement: Replace a text -ProjectID- with ABC101
First create a DGNLIB file (e.g. ABC.dgnlib) where we will create the required Named Expression.
Map the newly created DGNLIB file to configuration variable MS_DGNLIBLIST
Load input design file
Apply the following in the Print dialog.
Attach the Pen table to test the output
A Step-by-Step Guide for Advanced Pen Table Text Substitution
Print Text Substitution
Named Expressions