The dynamic legend feature helps you display result ranges and contour colors associated with visible elements. You can use the dynamic legend feature when you slice a body or hide bodies in an assembly. When you apply the dynamic legend feature to a sliced body, Mechanical repositions the Min and Max annotations to the lowest and highest result values displayed on the sliced body. For models that include multiple bodies the maximum and minimum result values can occur at the joined surfaces even if these surfaces are not visible.
As illustrated in the sequence below for an example slice, to update the legend and view the result ranges for the visible elements: right-click the legend and select Adjust to Visible.
Note: When you are viewing a result using the option (via the Geometry drop-down menu on the Result Context Toolbar), and the minimum or maximum value of a result occurs on the inside of your geometry and not on the exterior, the option will not display expected contour colors.

Adjusting the legend to visible elements only updates the legend colors, values, the Min and Max values as well as the annotations for these values, and adds the label "Custom" to the legend annotation information.

A change to the visibility of a part, displaying all parts again for example, or removing parts from the current display, adds the label "Custom Obsolete" to the legend annotation information. This indicates that the custom display is no longer accurate. It is displaying the values of the previous display (legend colors and values, the Min and Max values and annotation location, etc.), shown above, associated with a part being hidden. You need to select the option again to re-display the contours or select the option to display the original contours.

To restore the legend display for the entire body after you disable the slice or hide command, right-click the legend, and then click to view the result ranges for the entire body. If you do not reset the legend to show result range for the entire body after disabling the slice or hide command, Mechanical displays the out of range values with colors not included in the legend.

Note: This dynamic legend behavior does not apply to Probe annotations.