The Geometry.clear removes all data in the Geometry object named geometry_name. Any polygons, points, or lines that were stored in the Geometry object by loading a file or tracing a polygon are deleted, leaving the geometry empty.
Return Value
The function returns a logical value of 1 (true) on success, or 0 (false) if called on an occurrence of a binary dictionary item that does not exist.