Skip to content

Commit 7171b43

Browse files
Fix example
1 parent b0bfa9f commit 7171b43

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

examples/01-Modeling-Setup/Configurations.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import time
3333

3434
import pyaedt
35-
from pyaedt.generic.general_methods import generate_unique_name
35+
3636
# -
3737

3838
# Define constants
@@ -126,13 +126,15 @@
126126
# JSON file that you import using options in the ``configurations`` object.
127127

128128
out = app.configurations.import_config(conf_file)
129-
app.configurations.results.global_import_success
129+
is_conf_imported = app.configurations.results.global_import_success
130130

131131
# ## Release AEDT
132132
# Close the project and release AEDT.
133133

134134
app.release_desktop()
135-
time.sleep(3) # Allow Electronics Desktop to shut down before cleaning the temporary project folder.
135+
time.sleep(
136+
3
137+
) # Allow Electronics Desktop to shut down before cleaning the temporary project folder.
136138

137139
# ## Cleanup
138140
#

0 commit comments

Comments
 (0)