Access the UserData of an layer shader

On 22/11/2014 at 13:48, xxxxxxxx wrote:

Hallo
I want to change the strenght of a Texture in a layer shader ,
also it would be nice to change the blend mode  and access the parameters of filters.
I tried
Def main() :
    print theLayerShader.GetUserDataContainer()
and
def main()
print thelayerShader[c4d.MATERIAL_COLOR_SHADER]
Frist return [] scound return an Error
 AttributeError: Parameter value not accessible (object unknown in Python)
I hope some one can Help.

On 23/11/2014 at 11:26, xxxxxxxx wrote:

Hello,

you can traverse a layer shader with shader.GetDown()...GetNext() as it is a BaseList.
But correct me if I´m wrong, I guess it´s not possible in Python to change the blending intensity nor the blending mode.
I wish we had a list where we can see what´s possible and what is not.
Best wishes
Martin

On 24/11/2014 at 00:46, xxxxxxxx wrote:

Hello,

the layer shader's layers can only be edited through the C++ API. These layers have nothing to do with UserData.

best wishes,
Sebastian