active_project#
- Desktop.active_project(name: str | None = None) object | None#
Get the active project.
- Parameters:
- name
str,optional Name of the active project to make active. The default is
None, in which case the active project is returned.
- name
References
>>> oDesktop.GetActiveProject >>> oDesktop.SetActiveProject
Examples
>>> from ansys.aedt.core import Desktop >>> desktop = Desktop(version="2026.1") >>> desktop.active_project()