Hold on, it still leaves /../ if it's in the path. Anyway to resolve that?

R





Ron Ganbar
email: ron...@gmail.com
tel: +44 (0)7968 007 309 [UK]
     +972 (0)54 255 9765 [Israel]
url: http://ronganbar.wordpress.com/


On Mon, Mar 17, 2014 at 10:47 AM, Ron Ganbar <ron...@gmail.com> wrote:

> Great. Thanks Frank!
>
>
>
> Ron Ganbar
> email: ron...@gmail.com
> tel: +44 (0)7968 007 309 [UK]
>      +972 (0)54 255 9765 [Israel]
> url: http://ronganbar.wordpress.com/
>
>
> On Mon, Mar 17, 2014 at 10:34 AM, Frank Rueter|OHUfx <fr...@ohufx.com>wrote:
>
>>  nuke.filename(node) seems to resolve it just fine for me
>>
>>
>> On 3/17/14, 9:23 PM, Ron Ganbar wrote:
>>
>> Hi all,
>> I'm using the project directory structure for relative paths in Nuke.
>> So the Project Directory text field has: [python
>> {nuke.script_directory()}]
>> Then I use the ./../../path/to/file/file.jpg structure.
>> However, now that I run scripts that call for the file path they don't
>> work as they can't resolve the path.
>> Any ideas how to get the full path? Is there a function in Nuke that
>> takes care of resolving the path with the Project Directory?
>>
>> Thanks,
>> Ron Ganbar
>> email: ron...@gmail.com
>> tel: +44 (0)7968 007 309 [UK]
>>      +972 (0)54 255 9765 [Israel]
>> url: http://ronganbar.wordpress.com/
>>
>>
>> _______________________________________________
>> Nuke-python mailing listnuke-pyt...@support.thefoundry.co.uk, 
>> http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>
>>
>> --
>>   [image: ohufxLogo 50x50] <http://www.ohufx.com> *vfx compositing
>> <http://ohufx.com/index.php/vfx-compositing> | workflow customisation and
>> consulting <http://ohufx.com/index.php/vfx-customising> *
>>
>> _______________________________________________
>> Nuke-python mailing list
>> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>
>>
>

<<inline: ohufxLogo_50x50.png>>

_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to