create_polygon_void#

Modeler3DLayout.create_polygon_void(layer, points, assignment, units=None, name=None)[source]#

Create a polygon void on a specified layer.

Parameters:
layerstr

Name of the layer.

pointslist

List of points in a list of [x, y] coordinates.

assignmentstr

Object Owner.

unitsstr, optional

Polygon units. Default is modeler units.

namestr, optional

Name of the rectangle. The default is None, in which case the default name is assigned.

Returns:
ansys.aedt.core.modeler.cad.object_3dlayout.Polygons3DLayout

Object of the rectangle created when successful.

References

>>> oEditor.CreatePolygon