Skip to content

Commit

Permalink
FIX: Missed import pyedb download_file
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Mar 1, 2024
1 parent 0d4bd7b commit a6d9e93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/EDB/01_edb_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a6d9e93

Please sign in to comment.