You could use a Backdrop to bound your nodes then collapse that to a Group.

Also, there was a method added in 6.3v5 to select nodes contained in a
Backdrop node, something like:  nuke.thisNode().selectNodes() which makes
it easier to script something like this up.  I did this for a one-off case
so it behaves like a Shake-style group for a particular node that we wanted
to expand/collapse. I created expand and collapse buttons that would
populate the Group UI knobs to the Backdrop property panel, then when you
collapse the Backdrop it would put the knobs back on the Group.

It would be handy to see this work for anything, the way it did in Shake.

Michael


On 15 February 2012 07:17, Chris Bevan <[email protected]> wrote:

> You could do this by holding Ctrl+Shift and clicking on a node, to select
> the node and all of its inputs, and then pressing Ctrl+G to collapse the
> nodes to a group.  Pressing Ctrl+Alt+G with the group selected would then
> expand the group back out again.
>
> I think that all should be manageable in Python too if you prefer.
>
> Hope that helps,
>
> - Chris
>
>
> On 15/02/12 11:08, Ron Ganbar wrote:
>
>> Group \ Ungroup? Not exactly what you mean, but will make your tree
>> smaller.
>>
>>
>> Ron Ganbar
>> email: [email protected] <mailto:[email protected]>
>>
>> tel: +44 (0)7968 007 309 [UK]
>>      +972 (0)54 255 9765 [Israel]
>> url: http://ronganbar.wordpress.**com/ <http://ronganbar.wordpress.com/>
>>
>>
>>
>> On 15 February 2012 13:02, KiboOst 
>> <nuke-users-relay@thefoundry.**co.uk<[email protected]>
>> <mailto:nuke-users-relay@**thefoundry.co.uk<[email protected]>>>
>> wrote:
>>
>>    __
>>
>>    Is there a way on the NodeGraph to collapse a branch and expand it
>>    when needed ?
>>
>>    Let's say I have A->B->C->D, I would select D and collapse all
>>    upstream nodes so they are no more visible on the graph. Then, when
>>    needed, select D and expand back to work on the up nodes.
>>
>>    Dunno if there is such functionnality, but would rocks on complex
>> trees.
>>
>>    ______________________________**_________________
>>    Nuke-users mailing list
>>    [email protected].**co.uk<[email protected]>
>>    
>> <mailto:Nuke-users@support.**thefoundry.co.uk<[email protected]>
>> >,
>>    http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
>>    http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**
>> nuke-users<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users>
>>
>>
>>
>>
>> This body part will be downloaded on demand.
>>
>
> --
> Chris Bevan, Senior Software Engineer
> The Foundry, 6th Floor, The Communications Building
> 48 Leicester Square, London, WC2H 7LT
> Tel: +44 (0)20 7968 6828 | Fax: +44 (0)20 7930 8906
> Web: www.thefoundry.co.uk
>
> The Foundry Visionmongers Ltd
> Registered in England and Wales No: 4642027
>
> ______________________________**_________________
> Nuke-users mailing list
> [email protected].**co.uk<[email protected]>,
> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-users<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users>
>
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to