write_configuration_file#

ansys.aedt.core.generic.file_utils.write_configuration_file(input_data: dict, output_file: str | Path) bool#

Create a configuration file in JSON or TOML format from a dictionary.

Parameters:
input_datadict

Dictionary to write the file to.

output_filestr or pathlib.Path

Full path to the file, including its extension.

Returns:
bool

True when successful, False when failed.