How to change Edge Display, show max probe on result and scale deformation scale factor?
Rohith Patchigolla
Member, Moderator, Employee Posts: 206
✭✭✭✭
in Structures
In Mechanical, I would like to change Edge Display, show max probe on result and scale deformation scale factor via Mechanical scripting
Tagged:
0
Answers
-
For Edge display for Results, these are the below options
Graphics.ViewOptions.ResultPreference.ExtraModelDisplay =MechanicalEnums.Graphics.ExtraModelDisplay.NoWireframe Graphics.ViewOptions.ResultPreference.ExtraModelDisplay =MechanicalEnums.Graphics.ExtraModelDisplay.UndeformedWireframe Graphics.ViewOptions.ResultPreference.ExtraModelDisplay =MechanicalEnums.Graphics.ExtraModelDisplay.UndeformedModel Graphics.ViewOptions.ResultPreference.ExtraModelDisplay =MechanicalEnums.Graphics.ExtraModelDisplay.ShowElements
For showing max probe on Result contour,
Graphics.ViewOptions.ResultPreference.ShowMaximum = True
For scaling deformation scale factor
Graphics.ViewOptions.ResultPreference.DeformationScaleMultiplier = 2
1