try Auto Complete
Fills the closed gaps between polygons using polygon boundaries and polylines as the boundary for the new polygons. The new polygons are created in the closed empty areas bounded by the edges of the existing polygon boundaries and the new boundary polylines. The newly created polygons do not overlap any existing polygons or polylines, and the boundary of a new polygon must contain at least one edge from the polylines. Only polygons that intersect the input polylines participate in the operation, so it makes sense to prefilter the input accordingly.
All geometries in the existingBoundaries collection must have an area. They must be polygons or envelopes.
All geometries in newBoundaries collection must be polylines.
Return
The new polygons that were created. Returns an empty list in the following circumstances: either existingBoundaries or newBoundaries is empty; the spatial references in existingBoundaries and newBoundaries are not equivalent; a true curve geometry was used as input when it is not supported by this operator.
Since
200.1.0
Parameters
The polygons.
The polylines.