Skip to content

Commit

Permalink
support 3dlayout (#225)
Browse files Browse the repository at this point in the history
* support 3dlayout

* support 3dlayout

* - Fix 3DLayout exception

* support 3dlayout

* support 3dlayout

* support 3dlayout

* support 3dlayout

* support 3dlayout

* support 3dlayout

* quick fix

* quick fix

* support 3dlayout

* quick fix

* support 3dlayout

* quick fix

* quick fix

* quick fix

---------

Co-authored-by: ring630 <@gmail.com>
Co-authored-by: Samuel Lopez <[email protected]>
  • Loading branch information
hui-zhou-a and Samuelopez-ansys authored Apr 12, 2023
1 parent 21cca10 commit d6b042b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions aedttest/aedt_test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,9 @@ def copy_proj(project_config: Dict[str, Any], dst: str) -> Union[str, List[str]]
"""
src = project_config["path"]
src_aedb = src.replace(".aedt", ".aedb")
if Path(src_aedb).exists():
copy_path_to(src_aedb, dst)
return copy_path_to(src, dst)


Expand Down
5 changes: 4 additions & 1 deletion aedttest/simulation_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,10 @@ def extract_design_data(app, design_name, setup_dict, project_dir, design_dict):
"""

for setup, sweep in setup_dict.items():
variation_strings = app.available_variations.get_variation_strings(sweep)
if app.design_type == "HFSS 3D Layout Design":
variation_strings = app.list_of_variations(setup, sweep.lstrip(setup + " : "))
else:
variation_strings = app.available_variations.get_variation_strings(sweep)
if not variation_strings:
continue
for variation_string in variation_strings:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ classifiers = [
]

dependencies = [
"pyaedt==0.6.25",
"pyaedt==0.6.57",
"Django==3.2.18",
"tomli>=2.0.0",
]
Expand Down

0 comments on commit d6b042b

Please sign in to comment.