# Unckeck checkbox programatically

**URL:** https://discourse.paraview.org/t/unckeck-checkbox-programatically/3563
**Category:** Development
**Tags:** python
**Created:** [February 13, 2020, 7:28pm UTC](https://discourse.paraview.org/t/unckeck-checkbox-programatically/3563 "2020-02-13T19:28:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alo\_gon](https://discourse.paraview.org/user_avatar/discourse.paraview.org/alo_gon/32/2426_2.png) [@alo\_gon](https://discourse.paraview.org/u/alo_gon)
#### Post date: [February 13, 2020, 7:28pm UTC](https://discourse.paraview.org/t/unckeck-checkbox-programatically/3563/1 "2020-02-13T19:28:24Z")

</div>

I’m writing a python script and I wanted to know if there was a way to uncheck the `Show Plane` checkbox by code.

![Screen Shot 2020-02-13 at 16.26.06](https://discourse.paraview.org/uploads/default/original/2X/5/5ac5b1453f44158d77e16c3bf1aff4d13896ec10.png)

---

<div class="post-metadata">

### Author: ![aron.helser](https://discourse.paraview.org/user_avatar/discourse.paraview.org/aron.helser/32/13_2.png) [@aron.helser](https://discourse.paraview.org/u/aron.helser)
#### Post date: [February 13, 2020, 7:49pm UTC](https://discourse.paraview.org/t/unckeck-checkbox-programatically/3563/2 "2020-02-13T19:49:41Z")

</div>

Did you try the python tracing? ‘Start Trace’ in the tools menu, click ‘show interactive trace’ and uncheck that box, see if anything is recorded…

---

<div class="post-metadata">

### Author: ![alo\_gon](https://discourse.paraview.org/user_avatar/discourse.paraview.org/alo_gon/32/2426_2.png) [@alo\_gon](https://discourse.paraview.org/u/alo_gon)
#### Post date: [February 13, 2020, 8:14pm UTC](https://discourse.paraview.org/t/unckeck-checkbox-programatically/3563/3 "2020-02-13T20:14:42Z")

</div>

That was helpful! The result

```auto
# find source
slice1 = FindSource('Slice1')

# set active source
SetActiveSource(slice1)

# toggle 3D widget visibility (only when running from the GUI)
Hide3DWidgets(proxy=slice1.SliceType)

```
