Using scripts to show in detail

HideLayersInAllDetails.py (2.7 KB)

Hi team,

I’m hoping someone can help with a problem I’ve been struggling with. I have a script (not originally mine, but very useful) that allows me to select certain layers and hide them in every detail viewport cycling through all the pages that i have. I’m trying to reverse this functionality so that the selected layers are shown instead.

My end goal is to have a checkbox for all pages, so I can choose which page(s) the script operates on. I tried simply replacing the _hidelayerindetail command with showlayersindetail, but it seems the two commands handle layer selection differently.

Any hints, suggestions, or imports I might be missing would be greatly appreciated.

Thanks in advance!

Cheers
Will

Hi @William_Mason,

In Rhino 8, the Layers panel has this:

– Dale

1 Like

Hi @William_Mason,
Do you have Rhino 8?
You will need Rhino 8 for the options on the right click menu that Dale is showing in this image.

  1. Make the details active.
  2. Highlight the layer row
  3. Scroll to Details On column.
  4. Right click on the Detail On light bulb.
  5. Select your option for layer off or on in details only all or current layout.

It is very specific.
You can not right click on on the layout or global and see these menu options.

Sincerely,
Mary Ann Fugier

Thanks for the feed back, i have about 120 layout pages so that method is very time consuming. I managed for find some scripts in another page that i modified a little to make work how i want.

if Anyone is interested

Hide in Detail.py (4.6 KB)
Show in Detail.py (5.2 KB)

Cheers
Will

1 Like