load_project#
- Desktop.load_project(project_file: str | Path, design_name: str | None = None) bool | object#
Open an AEDT project based on a project and optional design.
- Parameters:
- project_file
strorpathlib.Path Full path and name for the project.
- design_name
str,optional Design name. The default is
None.
- project_file
- Returns:
- :def :ansys.aedt.core.Hfss
Any of the PyAEDT App initialized.
References
>>> oDesktop.OpenProject
Examples
>>> from ansys.aedt.core import Desktop >>> desktop = Desktop(version="2026.1") >>> desktop.load_project(project_file=r"C:\Projects\MyProject.aedt")