Quickly removing the Measure tool rulers from the 3D viewport in Blender

After using the Measure tool in Blender, the 3D viewport is filled with rulers representing the measurements we’ve made. All of these rulers can be quickly removed from the viewport “in one button click”.

Measurements made with the Measure tool are saved in “annotations.”

We can access them by opening the User panel (N-panel), switching to the “View” tab, and scrolling down to the “Annotations” subsection.

All rulers are saved in the annotation named “RulerData3D.”

The easiest way to quickly remove all rulers is to delete the annotation itself. To do this, select the annotation named “RulerData3D” and click the minus sign button to the right of the list. All rulers will be removed from the viewport. The next time we use the Measure tool, the “RulerData3D” annotation will be automatically re-created.

This annotation can also be removed using the Blender Python API.

To do this, first make it active:

And next, using a temporary context override (if we’re calling the code from Blender’s Text Editor), call the “layer_annotation_remove()” operator.

The 3D viewport will be completely cleared of the Measure rulers.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments