change_registry_from_file#
- Desktop.change_registry_from_file(registry_file: str, make_active: bool | None = True) bool#
Apply desktop registry settings from an ACF file.
One way to get an ACF file is to export a configuration from the AEDT UI and then edit and reuse it.
- Parameters:
- Returns:
- bool
Truewhen successful,Falsewhen failed.
Examples
>>> from ansys.aedt.core import Desktop >>> desktop = Desktop(version="2026.1") >>> desktop.change_registry_from_file(registry_file=r"C:\Configs\DesktopConfig.acf")