def METHOD_NAME(self, nets, extent, expansion_factor, expansion_unitless, use_round_corner, num_increments):
    """Get an expanded polygon for the Nets collection.
    Parameters
    ----------
    nets : list[:class:`Net <ansys.edb.net.Net>`]
        A list of nets.
    extent : :class:`ExtentType <ansys.edb.geometry.ExtentType>`
        Geometry extent type for expansion.
    expansion_factor : float
        Expansion factor for the polygon union. No expansion occurs if the `expansion_factor` is less than or \
        equal to 0.
    expansion_unitless : bool
        When unitless, the distance by which the extent expands is the factor multiplied by the longer dimension\
        (X or Y distance) of the expanded object/net.
    use_round_corner : bool
        Whether to use round or sharp corners.
        For round corners, this returns a bounding box if its area is within 10% of the rounded expansion's area.
    num_increments : int
        Number of iterations desired to reach the full expansion.
    Returns
    -------
    :class:`PolygonData <ansys.edb.geometry.PolygonData>`
    Notes
    -----
    Method returns the expansion of the contour, so any voids within expanded objects are ignored.
    """
    return self._layout.GetExpandedExtentFromNets(
        convert_py_list_to_net_list(nets),
        extent,
        expansion_factor,
        expansion_unitless,
        use_round_corner,
        num_increments,
    )