# replaceGeometry

Replaces the geometry in the builder with the new geometry. This does not update the spatial reference of the builder. If the geometry is null, the builder is cleared.

Prior to v100.12, only geometries without curves could be used; passing in a geometry where Geometry.hasCurves is true would throw an exception.

From v100.12, geometries with curves are supported.

#### Since

200.1.0