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_filestr or pathlib.Path

Full path to the DXF file.

Returns:
list

List of layers in the DXF file.