read_component_file#
- ansys.aedt.core.generic.file_utils.read_component_file(input_file: str | Path) dict#
Read the component file and extract variables.
- Parameters:
- input_file
strorpathlib.Path Path to the component file.
- input_file
- Returns:
dictDictionary of variables in the component file.
Examples
>>> from ansys.aedt.core.generic.file_utils import read_component_file >>> read_component_file(r"C:\Temp\filter.a3dcomp")