find_port_faces#

Modeler2D.find_port_faces(assignment: list) → list#

Find the vacuums given a list of input sheets.

Starting from a list of input sheets, this method creates a list of output sheets that represent the blank parts (vacuums) and the tool parts of all the intersections of solids on the sheets. After a vacuum on a sheet is found, a port can be created on it.

Parameters:
assignmentlist

List of input sheets names.

Returns:
List

List of output sheets (2x len(port_sheets)).

Examples

>>> from ansys.aedt.core import Hfss
>>> app = Hfss()
>>> app.modeler.find_port_faces(assignment="Box1")