[Plugin] TIG-LayerWatcher
-
A new tool to maintain some sanity...
Runs in the background.
Dialog [Y|N] when setting Current-Layer away from "Layer0".
Silently assigns "Layer0" to all newly added Geometry [Edges and Faces] irrespective of the Current-Layer or the Entities 'context', including any Geometry resulting from Exploding Groups or Components, which themselves might have other Layers.
http://sketchucation.com/pluginstore?pln=TIG_LayerWatcher
EDITS:
From v2.0 it also adds a Context-Menu item if the current Selection contains
Geometry [Edges and Faces] not assigned to "Layer0", it is called -
"Selected-Geometry-To-Layer0" - it reassigns that Geometry's Layer[s] to be
"Layer0". The Layers of other Entities in the Selection - e.g. Groups -
are ignored, only Geometry in the Selection is changed.
However, if the Selection contains Groups or Components, AND they in turn
contain Geometry that is not assigned to "Layer0", then you are then prompted
Yes|No to fix that... These changes mine down into any nested containers too...
These Layer changes are one-step undo-able.
From v4.0 it's an Extension, -
But keeps the group or component layer? while keeping geometry at layer0?
-
Wow. Another plugin that might logically have been a built-in option for SU itself. Great idea and execution!
-
I only see one problem with this plugin:
those who do understand what it does might not need it, and those who do not understand will probably not install it (unless we force them to)Great idea, thank you!
-
@krisidious said:
But keeps the group or component layer? while keeping geometry at layer0?
Yes - you are correct.
It only affects Edges and Faces [aka Geometry] everything else stays on the layer it already has... -
@tig said:
Yes - you are correct.
It only affects Edges and Faces [aka Geometry] everything else stays on the layer it already has...Beautiful...
-
@cotty said:
I only see one problem with this plugin:
those who do understand what it does might not need it, and those who do not understand will probably not install it (unless we force them to)
Great idea, thank you!
I fully agree.
But we have to start somewhere...
In a way it was an exercise in Observer creation.
I was quite pleased that there seems minimal lag when it kicks in.
I NEVER set the Current-Layer to anything other than Layer0.
But at least this fixes the exploding Group/Component issue where its Geometry inherits the container's Layer ! -
And the string of TIG hits just keeps on coming!
I always draw on Layer0, but I have had issues with raw geometry ending up on other layers... usually after exploding a group without paying attention to the layer inheritance, or after changing the current layer in order to delete another layer into it โ and then forgetting to reset the default layer before resuming drawing.
This will help to eliminate the untidy consequences of those occasional โusually late nightโ attention lapses.
Thanks for another useful plugin TIG. The Layers from/to List plugins will also see a lot of use and are equally appreciated.
Doug
-
@cotty said:
I only see one problem with this plugin:
those who do understand what it does might not need it, and those who do not understand will probably not install it (unless we force them to)Great idea, thank you!
LOL! So true!
I tell you what... I will never install it myself, but I will force it's installation on all the people I tutor Sketchup to.
Does it work automatically with models imported from 3D Warehouse?
-
Here's v2.0 http://sketchucation.com/pluginstore?pln=TIG_LayerWatcher
It now adds a Context-Menu item if the current Selection contains
Geometry [Edges and Faces] not assigned to "Layer0", it is called -
"Selected-Geometry-To-Layer0" - it reassigns that Geometry's Layer[s] to be
"Layer0". The Layers of other Entities in the Selection - e.g. Groups -
are ignored, only Geometry in the Selection is changed.
However, if the Selection contains Groups or Components, AND they in turn
contain Geometry that is not assigned to "Layer0", then you are then prompted
Yes|No to fix that... These changes mine down into any nested containers too...
These Layer changes are one-step undo-able. -
"But at least this fixes the exploding Group/Component issue where its Geometry inherits the container's Layer !"
That is the 5-star attribute of this plugin. Thank you TIG!
-
Hi Tig, - Great Plugin again. there is a clash with ACT (advanced camera tech) that you and people should be aware of. the ACT automatically creates layers and then geometry on them. This leads to your pop up box repeating itself. you have to switch SU off using windows Task Manager.
i disabled tig-layerwatcher in plugins manager - restarted and ACT works fine.
c -
@cmeed said:
Hi Tig, - Great Plugin again. there is a clash with ACT (advanced camera tech) that you and people should be aware of. the ACT automatically creates layers and then geometry on them. This leads to your pop up box repeating itself. you have to switch SU off using windows Task Manager.
i disabled tig-layerwatcher in plugins manager - restarted and ACT works fine.
c
Thank you for the report.
Of course ACT should never need to change the active layer from Layer0, or to put geometry on a layer that is not Layer0 - so I am perplexed...
Investigating...
EDIT:
Oddly when the ACT tool adds a layer [it adds two] it makes it current and then immediately reverts to the existing layer anyway, so it's pretty dumb !
It is possible to add a layer and use it, without ever making it current.
ACT adds camera objects etc onto those newly made layers...
I am thinking of reporting its silliness to the authors...
I can easily trap for this idiocy, but it would not be expected if ACT acted sensibly. -
Here's v3.0 http://sketchucation.com/pluginstore?pln=TIG_LayerWatcher It now allows tools [like ACT] to set a layer active that is NOT Layer0 - without the warning message.
It also allows non-native tools to add geometry onto layers other than Layer0.
Native tools are still covered... -
As always your work and speed is sublime !
-
As always your work and speed is sublime !
If only ACT was updated - it's been the same pain in the a*se for so long now. We don't need those extra layers! I've never needed those camera volumes it produces and you can't turn them off. They keep coming back and It's slow slow slow. Grrrr.
Grumble grumble. -
Great little plugin for fixing this idiotic exploding behavior! Thanks!
And yes... ACT should be fixed too - this large geometry is a joke that makes it unusable!
-
Hello All,
Allow me to just share my idea on how i deal with this in my workflow.
I probably as everybody have the habit to save usually at least once in ten minutes, or usually when finishing some steps like component,floor.
To address the problem of geometry on different layer than 0 I made similar habit of running clean up plugin from ThomThom. I did set up two hotkeys for two kind of settings. First is applicable for solid like geometries with smoothing and deleting edges and the other is practically just geometry on layer 0.have a great day everybody.
T.
-
Here's v4.0
http://sketchucation.com/pluginstore?pln=TIG_LayerWatcher
Now trapped for obscure errors from some other plugins' operations affecting its observers etc.
It has also been made into an 'Extension'. -
Here's v5.0
http://sketchucation.com/pluginstore?pln=TIG_LayerWatcher
It has minor tweaks and is also 'future-proofed'.
Advertisement