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:
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?
mmm - seems to be working now. I'll have to figure out what I did differently. Sorry to bother you!
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.