I would like to suggest that this extension becomes a built in feature. It operates as a simple toggle which might be built into the Tag dialog box, say.
If it keeps a similar name, it should probably become Auto Invisible Tag to keep up with developments.
While I’m not against for new feature … until that is implemented: there is a relatively easy way to change layer/tag visibility by scenes, without any extension:
.
Here’s a scenario as an example. You have set up a large number of scenes with individual tags turned on and off as appropriate. Now you want to add something and create a tag for it such that will only be visible in one scene. Without extension, the new tag would be switched on in every scene by default. My understanding is that the extension avoids that when switched on and so avoids the need to laboriously go through scene by scene switching it off.
I guess the way it might work if it were built in is that when you click to create a new tag, you might be asked if it is to be unique to the current scene (would that work?). Say no, and everything would be as default now.
Did you watch the attached animation in my quoted post?
The method there shows exactly that:
You can select all or several scenes on the Scenes Tray to apply the desired visibility.
But of course, it is still more click than using the extension, or “native feature” you wished.
It is just an advise how can you do it without the plugin currently.
I think it could be a good addition to the Tags panel. While you wait for the feature to be added, why not set up a keyboard shortcut? It’ll take you a few seconds and save you a lot of minutes.
I just tried suggestion but it doesn’t work. When I updated the scene, it put the same tag states for the all the scene selected and it’s undo-able!
The Auto Invisible Layer is IMO a must feature who should be part of the native SU. Now, in 2024, the plugin doesn’t work anymore.
UPDATE: I found a new plugin offering more flexibility, and it works in SU24: It’s called Turn Off Layer in All Scenes
Good morning! I am trying to create a small script to automate some of our workflows. One of the steps required is to activate (and later deactivate) the function “Autoinvisible Layer ON/OFF” which I would usually do manually (clicking). Is it possible to access this via ruby? This is likely a very stooopid beginners question but help would be very much appreciated.
This will do same as you clicked on that menu in SU, so a confirmation pop-up window will appear. This can not be avoided unless you rewrite the extension, or write your own.
__
You may noticed - as in the description of above mentioned extension also stated : " SketchUp 2025 now has native functionality similar to this extension. See the “Show New Tags” in the Tags Window (Additional details menu). If it is OFF, SketchUp will function like this extension."
Hi @dezmo - thanks for the help. I figured out how to do it with the help of Gemini…
callout_tag_name = "@CallOut " + component_name
callout_tag = tags[callout_tag_name] || tags.add(callout_tag_name)
pages.each { |page| page.set_visibility(callout_tag, false) } # Ensure new tag is off in all existing scenes
callout_instance.layer = callout_tag
This is likely complete cr3p but it helps get the job done for this particular script. At least I got it running somehow…