project_path#

Desktop.project_path(project_name: str | None = None) str | None#

Get the path to the project.

Parameters:
project_namestr, optional

Project name. The default is None, in which case the active project is used.

Returns:
str

Path to the project.

Examples

>>> from ansys.aedt.core import Desktop
>>> desktop = Desktop(version="2026.1")
>>> desktop.project_path()