From a6d9e935c1a3c58c513e0252bc3ac559decf18c0 Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Fri, 1 Mar 2024 17:11:33 +0100 Subject: [PATCH] FIX: Missed import pyedb download_file --- examples/EDB/01_edb_example.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)