Goal: Refresh the Mechanical tree. This is needed for certain operations that visually appear only after an update of the tree.
Code:
ExtAPI.DataModel.Tree.Refresh()
Release 18.2 - © ANSYS, Inc. All rights reserved.