Thanks Carlos.
I will be rewriting Fredrik's script to take into account the preferences,
and hopefully it won't interfere. I'll update you guys when I have
something working.

By the way I used notepad++ to search inside all files in my nuke folder,
the only one that has a match for platformPathRemaps was nuke.exe
Can't seem to find how the current remap is handled. I did find the
filename_fix tcl, but that just removes the drive letter and the following
":", so that's not how it is handled right now.
 On Jan 4, 2015 8:54 PM, "Carlos Trijueque" <[email protected]> wrote:

> Hi Erwan,
>
> I'm don't have Nuke in front of my at this moment so bear with me. I hope
> this helps you to figure it out a solution (if you can read trough my poor
> english)
>
> Check what kind of info nuke.value('preferences.platformPathRemaps')
> returns, Im pretty sure it's a list of strings with the values in the
> preferences remap table, so you need to split this in groups (a tuple,
> another list,...) of three elements, one for each OS, for every remap entry
> in the table.
>
> Now you can combine this info with Fredik's myFilenameFilter() and get
> what you are looking for.
>
> I'm not sure if the built-in function is availabe thought the Python API,
> maybe you can check it with support.
>
> Cheers,
>
> ./Carlos
>
>
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to