Mechanical scripting - changing the results display scale
total_obliteration
Member Posts: 12
**
in Structures
Hello
My script extracts contour plots of selected result for every load step. I am looking for a way to set a result display (deformations) scale factor via Scripting. There is a ScaleFactor method in the Result object but I think it controls some other aspect of the Result, not a "display scale factor".
print('selected result: ' + selected_result.Name)
selected_result.Activate()
selected_result.ScaleFactor = selected_result.ScaleFactor.UserDefined
selected_result.ScaleFactorValue = 100
Tagged:
0
Best Answer
-
See this script:
Graphics.ViewOptions.ResultPreference.DeformationScaleMultiplier = 100 Tree.Refresh()
All the best
Erik
0