Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi How can i set asset paths programatically in r20? It doesnt seem possible to set asset paths with environment variables so i need to figure out a way to do this with a python script on start up. Any help appreciated.
Bonsak
That was easy Paths[c4d.PREF_TEXPATHS] = 'D:/path/number/one\nC:/path/number/two'
Paths[c4d.PREF_TEXPATHS] = 'D:/path/number/one\nC:/path/number/two'
Even better! c4d.SetGlobalTexturePaths([['D:/path/number/one',True],['D:/path/number/two',True]]) I just love it when im all alone in here answering myself
c4d.SetGlobalTexturePaths([['D:/path/number/one',True],['D:/path/number/two',True]])
Hi Bonsak,
I'm glad you found the solution yourself.
One reminder: Please try to make use of tags, when posting, to help us keeping this place tidy. For this thread I already added some.
Cheers, Andreas
Cool. Will do.