UserSpace.clear_cells

UserSpace.clear_cells(clear_input=False, recursive=True)

Clears child Cells.

By default, clears all the calculated values of all the recursive child Cells. If clear_input is True, all the input values of the child cells are also cleared in addition to the calculated values. If recursive is False, only the cells that are the direct children of this Space are cleared, and cells in the recursive child spaces are not cleared.

Parameters
  • clear_input (bool) – If True, input values of the Cells are also cleared. Defaults to False.

  • recursive (bool) – If True, Cells in the recursive child Spaces are also cleared. If False, only the child Cells of this Space are cleared.

See also

clear_all()

New in version 0.16.0.