Full path to texture? [CLOSED]

On 30/03/2015 at 10:32, xxxxxxxx wrote:

I've just discovered that:

path = texture[c4d.BITMAPSHADER_FILENAME]

only gives you the full path to a texture if C4D didn't find it in one of the 'Texture Paths' set here: Preference>Files>Texture Paths

I need to always be able to get the full path to the texture.
I can't just search all the texture paths recursively for a matching file name, because there could be more than one result because the same file name could be present in different folders.

How do I get the full path to a texture?
C4D must have it stored somewhere.



On 30/03/2015 at 10:34, xxxxxxxx wrote:

this was discussed just recently. See this thread.

On 30/03/2015 at 11:28, xxxxxxxx wrote:

Moving to other thread.