THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/08/2003 at 06:50, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C++ ;
---------
Hi,
this code just won´t work. I cannot find any other way to set these values so this must be a bug. Please please please tell me I am wrong for I need it!! :)
BaseChannel* ch = mat->GetChannel(CHANNEL_ALPHA);
if(ch)
{
BaseContainer chbc = ch->GetData();
chbc.SetBool(1012,FALSE); //"Soft Alpha" Value
ch->SetData(chbc);
ch->Message(MSG_UPDATE);
}
Best
Samir