Get mesh region settings usage #4915
-
Hi, I have an icepak project where I have assigned mesh settings using pyaedt. Later I repoened this project using pyaedt and tried to read the mesh settings. I see different values between the GUI and what the API outputs. See below screenshot showing the GUI read settings corresponding to the global region Here is what I read from the API:
Am I not using the object methods/attributes correctly? Any help appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi, did you have a chance to review this? When you are done with the mesh settings modification, you can run the update command |
Beta Was this translation helpful? Give feedback.
-
@lorenzovecchietti I did go over it a while ago. My issue is not with assigning mesh settings, it's about reading the assigned settings. I have created several mesh regions using a code block very similar to this.
I analyzed that project and saved it. Later I opened the same project using the GUI and tried to output the mesh settings within pyaedt and I don't see the values that the API outputs match the values I see in the GUI.
{'MeshRegionResolution': 3, 'CurvatureSizeFunction': True, 'OptimizePCBMesh': True, 'EnforceCutCellMeshing': False, 'ProximitySizeFunction': True, 'EnableTransition': False, 'StairStepMeshing': False, 'Enforce2dot5DCutCell': False, 'Enable2DCutCell': False} |
Beta Was this translation helpful? Give feedback.
-
Works as intended after the PR #4923 from @lorenzovecchietti Output from api matches GUI value
|
Beta Was this translation helpful? Give feedback.
PR #4923