Hide Highlight of geometry during operation

… to better see how geometry is scaling for instance.

Is there a way or shortcut to temporarily toggle highlights?

Thank you

I believe @Jarek had made a script for this

yes indeed, there different versions by Pascal and others floating around, but mine is here:

Here is a one-shot unhighligher that will work on preselected objects and then quit after the scaling operation (or whatever) is done:

import Rhino
import scriptcontext as sc
import rhinoscriptsyntax as rs


def Unhighlight():
    ids = rs.SelectedObjects()
    if not ids:
        return
        
    objs = [rs.coercerhinoobject(id) for id in ids]
    
    for obj in objs:
        obj.Highlight(False)
    sc.doc.Views.Redraw()
    
if __name__ == '__main__':
     Unhighlight()

Unhighlight.py (363 Bytes)

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"

-Pascal

1 Like

Thank you Pascal!