THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/05/2012 at 13:35, xxxxxxxx wrote:
not sure what you are trying to do, can you provide a more extensive code example ?
c4d.BaseMaterial.Material is just the class for mmatrial, or in other words it is the
class to the interface system for displaying a c4d.BaseMaterial. so a Material is also
always a BaseMaterial.
if you want to access some material data it is done with the BaseContainer system,
approached by the bracket syntax as always in python. check the ressource folder
or the c4d console for the ids.
a quick example for reading the color channel texture :
myBaseShader = myBaseMaterial[c4d.MATERIAL_COLOR_SHADER]
edit : eh, i got it you got a BaseMaterial and you want to access the channel state.