[ANSYS Meshing] how to activate curvature for a "sizing" in a script?
Hi,
1- How can the "Capture Curvature" option be activated for a typical "Sizing" setting while scripting? Recording can't add such a line in the script. I learned that there is a command to activate this for the global mesh configuration, like:
```
Code:
mesh_1.CaptureCurvature = True
```
But how can I activate this for Sizing? I tried changing this to a form like:
`sizing_1.CaptureCurvature = True`
but it didn't work. It causes this error:
Quote:
'Sizing' object has no attribute 'CaptureCurvature'
2- Is there a programmers' guide (PDF) for ANSYS Meshing?
Any help would be greatly appreciated.
Best
Comments
-
The recording and resulting script are working on my end at 2024R2. Can you please provide more details, including the version of Ansys?
0 -
@Landon Mitchell Kanner said:
The recording and resulting script are working on my end at 2024R2. Can you please provide more details, including the version of Ansys?Thank you, Landon, for your response. The version I'm using is 2021 R1. So, do you think I should ask for an upgrade?
Besides, inside the generated script are just #region UI Action and #endregion. There are no commands like #region.Context.Menu.Action or #region.Details.View.Action.
0 -
Yes, it is time for an update
1