Finding what is locked in a large scene
VicS
Posts: 1,273
Finding what is locked in a large scene-
When objects have been locked and cant be selected it can pretty time consuming.
Is there a way aside from expanding all and searching and searching to find what is locked in the scene?
Post edited by VicS on
Comments
why it is 'pretty time consuming'? Why you want spending time to find it, to unlock? and what Lock you talking about, lock selective, or lock posing? If the later, in posing tab, right click, there is a function called 'unlock selected nodes pose', or write a script to make everything unlocked.
Control-a in the scene pane, then hop over to the parameters pane: click the 'Display' section, then toggle "Selectable in Viewport", done. Shouldn't take more than 5 seconds.
Instead of making part of a figure unselectable I'd suggest to only toggle a figures root node. There shouldn't be any need to micromanage like this. If something is bothering you, at best make it invisible (this would also make the part stand out and easy to find again). As for the root node... sometimes a product is actually a collection of other products, so if you toggle the root node as unselctable then some individual parts can still end up responding to your mouse hovering over them. If that's the case then simply create a group for the main item. After that you toggle the selection option of the group which in its turn will toggle all child items.
thanks a lot ShelLuser, Ill try that out
function they must lock selective, it is locking items that will not let me select something behind them for example
how would one go about writing a script to make everything unlock?
thanks
Assuming that you really are talking about the selection lock, i.e. "Parameters/Display/Selectable in viewport" you can lock and unlock the whole tree below a node by holding down the "control" ("ctrl") keyboard key while left clicking on the arrow-check-mark. If a node is currently locked the unlock will apply to the whole node and everything below it (it's only a toggle for the top node).
The same thing applies to the eyeball ("Visible")
If you really want to do the whole scene without going top-level-node-by-top-level-node I think the only way is "select all" in the Scene tab then go to tab Parameters, left "All" towards the top left and scroll down on the right to the Display list; you should see a massive count by "Visible" etc. You can turn them all on and off there. I don't think that ^A in the Scene tab works; so far as I can tell it only selects the visible nodes.
It's not a hard script; just a matter of traversing over the scene tree and changing the setting of everything. 3D Universe's scene tools do hide/show (#1) and #2 does set and unset for Pose locks and Limits locks, which is harder because those locks are on the individual parameters:
https://www.daz3d.com/daz-studio-4-scene-tools-set-1
https://www.daz3d.com/daz-studio-4-scene-tools-set-2
https://www.daz3d.com/daz-studio-4-scene-tools-set-3--pose-symmetry
I own but don't use the first; the ctrl-click addition removed all my need for it. I use the second set all the time with the ActivePose tool.
thanks, the lock im talking about is in the scene pane not parameters pane- i use it for example if a camera is in front and trying to select something behind it will only select the camera until the camera is locked in the scene tab
That sounds like the selectable toggle - it matches the corresponding property in the Parameters pane. It isn't locking, just allowing mouse-clicks to pass through.