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. If I call documents.GetAllAssets() I can get the owner of the shader in question, and I can use a tuple of params to get the path. For example:
documents.GetAllAssets()
asset["owner"][c4d.REDSHIFT_SHADER_TEXTURESAMPLER_TEX0, c4d.REDSHIFT_FILE_PATH])
Result: C:\a\b\c.jpg
However, I need to replace that path with a different path for cloud rendering. The following doesn't work:
asset["owner"][c4d.REDSHIFT_SHADER_TEXTURESAMPLER_TEX0, c4d.REDSHIFT_FILE_PATH]) = "../other/path
A very similar technique works just fine for a Redshift proxy path.
Can anyone tell me how to write a new path in a Redshift texture programmatically?
Many thanks!
mmm - seems to be working now. I'll have to figure out what I did differently. Sorry to bother you!
Hello @conductor,
Thank you for reaching out to us. I am glad that you could solve your problem yourself. Please do not hesitate to ask further questions you might have.
Cheers, Ferdinand