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:
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!