Ansys icepak coding error #3901
-
from pyaedt import Icepak, generate_unique_folder_name, downloads, settings temp_folder = generate_unique_folder_name() ipk = Icepak(projectname=os.path.abspath(os.path.join(temp_folder, "Heatsink.aedt")), specified_version="2022.1", non_graphical=True, ipk.modeler.get_object_from_name("Region").delete() hs_base = ipk.modeler.create_box(position=[0, 0, 0], dimensions_list=[37.5, 37.5, 2], name="HS_Base") ipk.plot(show=False, export_path=os.path.abspath(os.path.join(temp_folder, "Heatsink.jpg"))) mesh_box = ipk.modeler.create_box(position=[-2, -2, -3], dimensions_list=[41.5, 41.5, 24]) hs_fin5_object = ipk.modeler.get_object_from_name("HS_Fin1_5") ipk.monitor.assign_point_monitor(point_monitor_position, monitor_quantity=["Temperature", "HeatFlux"], os.mkdir(os.path.abspath(os.path.join(temp_folder, "componentLibrary"))) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@PowerbrainAI New PyAEDT versions are not supported in 2022.1. https://aedt.docs.pyansys.com/version/stable/Getting_started/About.html#dependencies Please update the AEDT version, I suggest installing 2023.2. New PyAEDT releases are tested in the latest official release. Thanks |
Beta Was this translation helpful? Give feedback.
@PowerbrainAI New PyAEDT versions are not supported in 2022.1.
https://aedt.docs.pyansys.com/version/stable/Getting_started/About.html#dependencies
Please update the AEDT version, I suggest installing 2023.2. New PyAEDT releases are tested in the latest official release.
Thanks