Skip to content

Failure in Analysis using PyAEDT #3817

Closed Answered by Samuelopez-ansys
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @crapemyrtle-841 ,

It is working fine for me:

from pyaedt import *
import pyaedt

pyaedt.settings.use_grpc_api = False

version = '2023.2'
print("Loading the PyAEDT Console.")
project = r"C:\Users\slopez\Downloads\antenna_test.aedt"
hfss = Hfss(projectname=project, designname="Design1", specified_version=version, new_desktop_session=False,
            non_graphical=False, close_on_exit=False, student_version=False)

hfss["L1"] = "26.5mm"

hfss.analyze_setup("Setup1", num_cores=4)

hfss.release_desktop(False, False)

Please update pyaedt, because probably you are using an old version, I am using pyaedt v0.7.3

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected by Samuelopez-ansys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant