diff --git a/examples/EDB/01_edb_example.py b/examples/EDB/01_edb_example.py index f9ddd9410..337f04d28 100644 --- a/examples/EDB/01_edb_example.py +++ b/examples/EDB/01_edb_example.py @@ -11,9 +11,10 @@ from ansys.pyaedt.examples.constants import EDB_VERSION import pyedb +from pyedb.misc.downloads import download_file temp_dir = tempfile.TemporaryDirectory(suffix=".ansys") -targetfile = pyedb.misc.downloads.download_file("edb/ANSYS-HSD_V1.aedb", destination=temp_dir.name) +targetfile = download_file("edb/ANSYS-HSD_V1.aedb", destination=temp_dir.name) siwave_file = os.path.join(os.path.dirname(targetfile), "ANSYS-HSD_V1.siw") print(targetfile)