Data Management Capabilities > Managing Part Structures > Windchill Options and Variants Capabilities > Assigning Expressions > Using the Property ato.alternate.expression.format to Control the Display of Expressions
  
Using the Property ato.alternate.expression.format to Control the Display of Expressions
This section describes the use of the ato.alternate.expression.format property to control the display of expressions in assigned expressions, aliases, and conditional rules.
Controlling the Read-only Display of Assigned Expressions
Administrators can configure the read-only display of assigned expressions by setting the ato.alternate.expression.format property in wt.properties file. This property setting is site-wide, and it affects the user interfaces that show assigned expressions, choice rues, and aliases.
If this property is set to true, then the format is the following:
The site-configured character for the OR operator (the default is “/”) is displayed between subexpressions rather than the localized word “OR”.
For multiple subexpressions, the square brackets { "[" and "]" } around the subexpressions of the advanced expression are replaced by the parentheses { "(" and ")" }.
The format refers to the display of subexpressions only in terms of choices.
If the property is set to false, advanced expressions are displayed using the default format.
Controlling the Read-only Display of Expressions in Conditional Rules
The display of the If part of the conditional rule appears as follows:
The site-configured character for the OR operator (the default is “/”) is displayed between subexpressions rather than the localized word “OR”.
For multiple subexpressions, the square brackets { "[" and "]" } around the subexpressions of the advanced expression are replaced by the parentheses { "(" and ")" }.
Subexpressions are displayed only in terms of choices.
The display of the Then part of the conditional rule shows only choices without options.
For example, if the property is not set, the display of expressions is as follows:
[(option1 = choice1a / option1 = choice1b) + option2 = choice2a] OR [-(option3 = choice3a) + option4 >= choice4a] --> Include ( opion5 = choice5a, option6 = choice6a)
If the property is set to true, the display of expressions appears as follows:
((choice1a / choice1b) + choice2a) / (-choice3a + >= choice4a) --> Include ( choice5a, choice6a)
Controlling the Read-only Display of Include, Enable, and Exclude Rules
If the property is defined and set to true, choice rules display only choices, not options.
For example, if the property is not set, the default display of an exclude rule is as follows:
option1 = choice1a; option2 = choice2a, choice2b; option3 = choice3a
If the property is set to true, the display of an exclude rule is as follows:
choice1a; choice2a, choice2b; choice3a
Controlling the Read-only Display of Aliases
If the property is defined and set to true, aliases show only choices, not options.
If the property is not defined or is set to false, the default format is used.
For example, if the option is set to false, the display format is as following: (option1 = choice1a / option1 = choice1b) + option2 = choice2a + -(option3 = choice3a) + option4 >= choice4a
If the option is set to true, the display format is as following: (choice1a / choice1b) + choice2a / (-choice3a + >= choice4a)