Closed Rungenwagen closed 1 year ago
Hi Rungenwagen,
I had the same issue - however I managed to overcome it by searching for the outline polygon the HFSS 3DL and use that input when importing PCB in Icepak. Using something like the lines below.
"" Outline = h3d.modeler.objects_by_layer("Outline")
ipkapp.create_pcb_from_3dlayout(component_name="PCB1",project_name=h3d.project_name, design_name=h3d.design_name, extent_type='Polygon',outline_polygon=Outline[0])
""
I have not seen a project where the outline did not excist in HFSS 3DL - so I do not know what will happen in that case.
Best regards, Kim
Hi Kim,
thank you for the tip. I managed it.
Best regards, Rungenwagen
Fixed, please have a look
Before submitting the issue
Description of the bug
The function Icepak.create_pcb_from_3dlayout(component_name, project_name, design_name, extent_type='Polygon') doesn't create a polygonal PCB successfully. Instead, AEDT uses bounding box. The AEDT window shows the following error.
It seems that it works only if I give the correct name of the outline polygon in the parameter of this function. When I create a PCB manually in AEDT GUI, the outline polygon is automatically selected. But in scripting, I can't get the outline. In a compatible script, I can set "Use3DLayoutExtents:=" to True like the code below to avoid this problem. However, in PyAEDT, there is no such parameter.
Steps To Reproduce
ipk = Icepak() project_name = ipk.project_name
oEditor = ipk.modeler.oeditor ipk.create_pcb_from_3dlayout( component_name='PCB', project_name=project_name, design_name='main', extent_type='Polygon' )
ipk.release_desktop(close_projects=False, close_desktop=False)