gr4ph0s / C4D_RedshiftWrapper_API

A c4d wrapper around Redshift API
MIT License
35 stars 7 forks source link

setting colors via code? #10

Open imgntn opened 2 years ago

imgntn commented 2 years ago

hi - any clue why when i try to read/write a color at c4d.REDSHIFT_SHADER_RSMATHABSCOLOR_INPUT , which is 10000, i get this error?

print(internalNode[10000])

AttributeError: Parameter value not accessible (object unknown in Python)

is it possible to change color via code?

i'm able to toggle other parameters. thank you!!! :)

gr4ph0s commented 2 years ago

Hi what is the parameter and from which node you are trying to read? If this is possible, try to extend the subcontainer to access the real IDs of the parameter you are trying to set.

image