Open project in pyAEDT
GT
Member Posts: 2 **
Hi!
Instead of creating a project from scratch in pyAEDT, like:
SETUP
desktopVersion = '2023.2'
sName = 'pyAEDT'
sType = 'TransientXY'
pName = pyaedt.generate_unique_project_name()
dName = 'Test_2023'
non_graphical = False
Model = pyaedt.Maxwell2d(projectname=pName,
specified_version=desktopVersion,
designname=dName,
solution_type=sType,
new_desktop_session=False,
non_graphical=non_graphical
)
I wonder if one can open a already created project (that was made in Maxwell), something like this:
pyaedt.Maxwell2d.open_project('path_to_project')
"""
Make changes...
Analyse All...
"""
SOLVED
Tagged:
0
Comments
-
Hi @GT ,
To open an already existing file, you can use this code and make changes
"""
from pyaedt import Maxwell2d
MW = Maxwell2d(path)
"""Thanks and Regards,
0