# How to show/hide ruller in 3DView by code?

**URL:** https://discourse.slicer.org/t/how-to-show-hide-ruller-in-3dview-by-code/34132
**Category:** Support
**Created:** [February 3, 2024, 9:51am UTC](https://discourse.slicer.org/t/how-to-show-hide-ruller-in-3dview-by-code/34132 "2024-02-03T09:51:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![apparrilla](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/apparrilla/32/9230_2.png) [@apparrilla](https://discourse.slicer.org/u/apparrilla)
#### Post date: [February 3, 2024, 9:51am UTC](https://discourse.slicer.org/t/how-to-show-hide-ruller-in-3dview-by-code/34132/1 "2024-02-03T09:51:49Z")

</div>

Hi everyone!  
I need to manage ruller visibility in my module and I can´t find it in forum or script repository.  
Api search gives me to vtkMRMLAbstractViewNode but I just find GetRulerEnabled but not SetRulerEnabled…  
Thanks in advance!
