8000 Active Design not set for Hfss.copy_design_from() · Issue #5623 · ansys/pyaedt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Active Design not set for Hfss.copy_design_from() #5623
Open
@Devin-Crawford

Description

@Devin-Crawford

Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

Description of the bug

When Hfss.copy_design_from(file, "Design") is run, the current design is not updated.

Steps To Reproduce

wg_tee_name = os.path.join("Examples", "HFSS", "RF Microwave", "Tee.aedt")
wg_tee_name = os.path.join(self.aedtapp.desktop_install_dir, wg_tee_name)
hfss.copy_design_from(wg_tee_name, "TeeModel")

If the hfss app was already running with an active design, then hfss.design_name will not return the new "TeeModel" design.

Which Operating System are you using?

Windows

Which Python version are you using?

3.10

Installed packages

All dependencies are installed and up to date.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0