cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Select hidden in subtree

Select hidden in subtree

How many times have you hidden a part, collapsed the scene graph & then spent 5 minutes trying to find the part again?

This would me it really easy to find parts and return the scene to it's original state.

 

It can also help with data prep - sometimes I hide a part that I'm not sure if I can delete or not - then forget about it & it's just in the scene wasting file size.

 

Thanks.

4 Comments
richardlevene
Collaborator

I mean if it is the last hidden object in the Scenegraph you can go to View-Show Last Hidden

 

This helps me quite a bit.

 

Then there is the Show/Hide All option as well.

sinje_thiedemann
Autodesk

Hi,

as a workaround for the meantime, the described functionality can be implemented with a python script.

Add the following lines to Preferences > Script (make sure to keep the indentation):

 

def getHidden(node, hidden):
    if(not node.getActive()):
        hidden.append(node)
    for i in range(0, node.getNChildren()):
        getHidden(node.getChild(i), hidden)

def selectHidden():
    node = getSelectedNode()
    hidden = []
    getHidden(node, hidden)
    selectNodes(hidden)
    
KeyH = vrKey(Key_H)
KeyH.connect(selectHidden)
KeyH.setDescription("Select hidden nodes of selected subtree")

This gives you a shortcut (key "H", if you want another key, just change that part) that selects hidden nodes in the subtree of a selected node in the scenegraph.

How to use it:

1. In the scenegraph, select the root node of the subtree that you want to search for hidden parts.

2. Click into the render window and press the shortcut (e.g. Key H). The hidden nodes in the subtree are selected in the scenegraph.

3. To expand and scroll to the selected nodes in the Scenegraph, use Ctrl-Shift-F (also in the render window).

    Or activate Isolate View, while the hidden nodes are selected. This will render the hidden nodes only.

 

Best regards

Sinje

Anonymous
Not applicable

@richardlevene

Thanks for the support - I knew of these and they do help me quite a bit too 🙂

But I feel like I'm still missing this feature that'd help streamline my process and speed up heavy data-prep (and hopefully others!).

 

@sinje_thiedemann

You are an absolute hero. This has been a HUGE help - thank you very much!

Anonymous
Not applicable

I usually hide an lock the parts I'm not sure if I'll need again and am afraid to delete.  I think this makes more sense, especially when sharing files, because I often isolate and show all and get frustrated when all kinds of junk shows up from someone else's file.  I'd really like a tool to find locked nodes.

 

A workaround regarding the original question would be to name the node something unique, then you can just use the magnifying glass in the Scenegraph to Search for it.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea