generate_mesh#
- Mesh.generate_mesh(name)[source]#
Generate the mesh for a design.
- Parameters:
- name
str
Name of the simulation setup.
- name
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oDesign.GenerateMesh
Examples
>>> from ansys.aedt.core import Maxwell3d >>> m3d = Maxwell3d() >>> m3d.create_setup(setupname="Setup1") >>> m3d.mesh.assign_length_mesh(maxlength=5, maxel="None") >>> m3d.mesh.generate_mesh("Setup1")