On 01/05/2014 at 20:29, xxxxxxxx wrote:
Hi,
I am writing a python script in c4d and i need some help.
The script i have written requires the global(absolute) filepath of the textures.
As, i require it to copy the texture file into a new directory.
Currently, i have resorted to using call command, to get the filepath:
c4d.CallCommand(1029486) #Open Texture Manager
c4d.CallCommand(1029813) #Select All texture
c4d.CallCommand(1029820) #Globalize filenames
But i know that this is method may lead to complications in the future.
I have tried googling every possible term i can think of, and i still have not
come up with a solution.
So i would like to know if anyone can help me, with how i would go along writing a
python alternative on how to get the global(absolute) filepath.
-Harry