Remove (patterns match) v1.2


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Olivier Blanchet
Remove/keep channel(s) using patterns, through dynamic creation of Remove nodes. No action needed, all automatic!
Requirements:
14.0, 13.2, 13.1, 13.0, 12.2, 12.1, 12.0, 11.3, 11 or later
Linux, Mac, Windows
28 Sep 2023
203

1.1 bug fixed

1.2 default issue fixed

This is a very simple script in a node to add dynamically Remove node, based on patterns.

I use it quite often to remove/keep technical passes or keep only lightgroups or shader AOVs. Let's keep it tidy, would you!

You can add exceptions as well!

For example, keep all lightgroups except the one that contains '0', et voila!

Looks like this:

tmp 1604961483840

Works like that:

It's case sensitive! So adjust accordingly! Separate every pattern with a space!

Enjoy!

 

 

Please login in order to download these files.

Comments   

 
0 # bin zhuang 2020-11-11 02:33
awesome!
Does it supported regular expression?
 
 
0 # Olivier B 2020-11-11 04:35
Thanks!
No, right now, it's a simple string match!
 
 
0 # Johan Alfort 2022-05-11 13:14
Hi, I tried this in Nuke 13 and it didn't work at all, any chance of an update or if you have any ideas as to what might have broken it? Maybe an easy python 2.7 to python3 syntax?
 
 
0 # Olivier B 2022-10-12 23:11
What a late reply is mine...
I don't have the error, do you have more details?
Thanks!
 
 
0 # Olivier B 2023-09-28 10:22
I realised that if you change the default value of the Remove node of your Nuke, it won't work.
Update to come. see v1.2
 

You have no rights to post comments

We have 2940 guests and 123 members online