Solved Set Asset Paths in python

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.


That was easy :)
Paths[c4d.PREF_TEXPATHS] = 'D:/path/number/one\nC:/path/number/two'

Even better!
I just love it when im all alone in here answering myself :)

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.


Cool. Will do.