File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/ansys/aedt/core/modules Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change
1
+ Add blocking to optimetrics analyze method
Original file line number Diff line number Diff line change @@ -494,6 +494,7 @@ def analyze(
494
494
machine : str = "localhost" ,
495
495
run_in_thread : bool = False ,
496
496
revert_to_initial_mesh : bool = False ,
497
+ blocking : bool = True ,
497
498
) -> bool :
498
499
"""Solve the active design.
499
500
@@ -520,6 +521,9 @@ def analyze(
520
521
``False``.
521
522
revert_to_initial_mesh : bool, optional
522
523
Whether to revert to initial mesh before solving or not. Default is ``False``.
524
+ blocking : bool, optional
525
+ Whether to block script while analysis is completed or not. It works from AEDT 2023 R2.
526
+ Default is ``True``.
523
527
524
528
Returns
525
529
-------
@@ -541,6 +545,7 @@ def analyze(
541
545
machine = machine ,
542
546
run_in_thread = run_in_thread ,
543
547
revert_to_initial_mesh = revert_to_initial_mesh ,
548
+ blocking = blocking ,
544
549
)
545
550
546
551
You can’t perform that action at this time.
0 commit comments