Set global mesh size in Icepak AEDT #4642
-
I'd like to set the global mesh size for my Icepak AEDT simulation in my script. I used the following command for this purpose: ipk.mesh["GlobalMeshSettings"]["XSize"] = "1mm" However I get an error message. I'd appreciate your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi, mesh region code has been recently refactored. Most of previous command should work, but not this specific one. The general approach is to get the mesh region object (in case of the global one: You can see the available propertied printing When you are done modifing the settings: In your case:
|
Beta Was this translation helpful? Give feedback.
Hi, mesh region code has been recently refactored. Most of previous command should work, but not this specific one.
The general approach is to get the mesh region object (in case of the global one:
mesh_region = ipk.mesh.global_mesh_region
) and access the setting property.You can see the available propertied printing
mesh_region.settings
and modify them accessing the object like a dictionary. To switch from automatic to manual settings:mesh_region.manual_settings = True
and the available properties inmesh_region.settings
will automatically update accordingly.When you are done modifing the settings:
mesh_region.update()
In your case: