Try:
[string map {/Volumes /_Volumes} [knob file]]
Sent from my iPhone
> On 22/03/2016, at 15:06, jean-luc <[email protected]> wrote:
>
> I’m trying to populate the proxy path of a read node automatically with the
> local cache path of the file.
>
> So If the read node is pointing at: /Volumes/RAID/project/file.exr I want the
> proxy path to be /localcacheFolder/_Volumes/RAID/project/file.exr
>
> In a perfect world, I’d have this in the nuke menu and I’d have “add
> localized cache to proxy path” and “remove localized cache from proxy path”
>
> I have an easy way to add a local folder in front of the file path but I’m
> stuck because of the underscore that is added in front of “Volumes” in the
> local cache folder
>
> So if I put this in the proxy path: /localcacheFolder[knob file] it almost
> works except for that underscore thing. Is there a way to skip the first
> folder of the [knob file]?
>
> cheers
> Jean-Luc
>
>
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> 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