load_expression_file#
- FieldsCalculator.load_expression_file(input_file: str) dict | bool#
Load expressions from an external TOML file.
Examples
>>> from ansys.aedt.core import Hfss >>> hfss = Hfss() >>> my_toml = str(Path("my_path_to_toml") / "my_toml.toml") >>> new_catalog = hfss.post.fields_calculator.load_expression_file(my_toml) >>> hfss.desktop_class.release_desktop(False, False)