Migration from v222 to v232
aaazzzxxxx
Member Posts: 4
**
Hi,
ExtAPI.DataModel.InternalObject["ds"].Graphics.ResultPrefs.MinOn = False ExtAPI.DataModel.InternalObject["ds"].Graphics.ResultPrefs.edgeDisplay = 2
This commande perfectly worked in Ansys 2022 R2 but not anymore in v2023 R2. I get the following error message:
'DispCallable' object has no attribute 'MinOn'
Can you give me the right code with same functionality. Thanks a lot.
Tagged:
0
Answers
-
Prefs = ExtAPI.Graphics.ViewOptions.ResultPreference
Prefs.ShowMaximum=False
Prefs.ShowMinimum=False
Prefs.ExtraModelDisplay=MechanicalEnums.Graphics.ExtraModelDisplay.NoWireframe0