assign_openings#

Icepak.assign_openings(air_faces)#

Assign openings to a list of faces.

Parameters:
air_faceslist

List of face names.

Returns:
ansys.aedt.core.modules.boundary.BoundaryObject

Boundary object when successful or None when failed.

References

>>> oModule.AssignOpeningBoundary

Examples

Create an opening boundary for the faces of the "USB_GND" object.

>>> faces = icepak.modeler["USB_GND"].faces
>>> face_names = [face.id for face in faces]
>>> boundary = icepak.assign_openings(face_names)
PyAEDT INFO: Face List boundary_faces created
PyAEDT INFO: Opening Assigned