solve_inside#
- Maxwell3d.solve_inside(name, activate=True)#
Solve inside to generate a solution inside an object.
With this method, Maxwell will create a mesh inside the object and generate the solution from the mesh. In Maxwell, by default when an object is created
solve inside
is already enabled.- Parameters:
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oEditor.ChangeProperty
Examples
Disable
solve inside
of an object.>>> from ansys.aedt.core import Maxwell3d >>> m3d = Maxwell3d(version=2025.2, solution_type="Transient", new_desktop=False) >>> cylinder = m3d.modeler.create_cylinder(origin=[0, 0, 0], orientation="Z", radius=3, height=21) >>> m3d.solve_inside(name=cylinder.name, activate=False) >>> m3d.release_desktop(True, True)