Hello,
I'm new in nuke. I used to work with Fusion.
I 'm trying to rename the read node in my composite but i'm not
familiar with scripting
Then, what I want to do is to convert
the actual node (example):
Read10
BG-T-Occ_Main.0153.exr
by this kind of name :
BG-T-Occ
1-240
where 1-240 is the range of the read
I found a part of script from tutorial here:
def showName ():
n = nuke.thisNode()
label = '%s' % (
n['file'].value()
)
return label
nuke.selectedNode()['autolabel'].setValue('showName()')
It return that for the moment
Z:/Scenes/100/S42/Render/BG/BG-T-Occ_Main.0153.exr
Any ideas or help??
Thanks