objects_in_bounding_box#

Modeler2D.objects_in_bounding_box(bounding_box, check_lines=True, check_sheets=True)[source]#

Given a 2D bounding box, check if sheets and lines are inside it.

Parameters:
bounding_boxlist

List of either the 4 or 6 coordinates of the bounding box vertices. Bounding box is provided as [xmin, ymin, zmin, xmax, ymax, zmax].

check_linesbool, optional

Whether to check line objects. The default is True.

check_sheetsbool, optional

Whether to check sheet objects. The default is True.

Returns:
list of ansys.aedt.core.modeler.cad.object_3d