Add a substitution
A substitution is a user-defined rule which, during instantiation, replaces a text string in the name, description, instantiation location, or other attribute of a library object element with a parameter value, calculation result, or referenced value.
To add a substitution
- In the decorator panel, either:
- Click
on the Substitutionstab toolbar. - In theSubstitutionstab, right-click a group name and then clickAdd New Substitution.The Substitution Builder window opens.All fields are required.
- Enter the values for the new substitution.
- Select a scope in theScopefield.
- In theOriginalfield, enter an initial text string to be replaced.
- In theReplacementfield, enter a replacement string. Strings, numeric characters, and tokens can all be used in the replacement string.Click the ellipsis (...) to open the Member Selector window and select a decorative element to use as the replacement.
- InSearch Mode, specify the type of search to use during the substitution process.
- ChooseTextto search for text strings not in tokens.
- ChooseOperandto search for an operand in a token.
- ClickOKto close theSubstitution Builder.The substitution is added to theSubstitutionstab.
Provide Feedback