Hi, I'm wondering if it's possible to modify the shader properties for a C4D Shader Node via C4DPy. My goal is to modify this value.
In the GUI, I could open up a console and get the corresponding node like this:
while current_node is not None:
if current_node.GetName() == 'Base Color':
break
current_node = current_node.GetNext()
And then I could access the red-outlined variable through:
current_node[c4d.GV_REDSHIFT_BAKER_SHADER][c4d.SUBSTANCESHADER_ASSET][c4d.SUBSTANCEASSET_FILENAME]
, but this doesn't seem to work when using C4DPy, as current_node[c4d.GV_REDSHIFT_BAKER_SHADER][c4d.SUBSTANCESHADER_ASSET]
yields None
. How can I modify this parameter via C4DPy?