try if "tiffWrite" in i['name'].value():
On Wed, Mar 16, 2011 at 1:10 PM, Brogan Ross <[email protected]> wrote: > So I think this should be pretty simple to answer. I'm trying to put a > wildcard in a string and it doesn't seem to work. I have a bunch of write > nodes with the base name tiffWrite_ and then followed by a short element > description. I'm trying to single out all the write nodes with tiffWrite in > the name but I don't know how to get a wildcard to work in a string with > nuke. > Here's an example: > For i in nuke.allnodes('Write'): > if i['name'].value() == 'tiffWrite*': > Select > > Thanks. > > _______________________________________________ > Nuke-python mailing list > [email protected] > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > _______________________________________________ Nuke-python mailing list [email protected] http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
