get_dxf_layers#
- ansys.aedt.core.generic.file_utils.get_dxf_layers(input_file: str | Path) list[str]#
Read a DXF file and return all layer names.
- Parameters:
- input_file
strorpathlib.Path Full path to the DXF file.
- input_file
- Returns:
listList of layers in the DXF file.
Examples
>>> from ansys.aedt.core.generic.file_utils import get_dxf_layers >>> get_dxf_layers(r"C:\Temp\board_outline.dxf")