SetChannel values...
-
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 -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/08/2003 at 13:05, xxxxxxxx wrote:
Have you tried GetParameter()?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/08/2003 at 16:57, xxxxxxxx wrote:
I have tried SetParamter and it doesn´t work :
BaseContainer chbc = ch->GetData();
chbc.SetParameter(DescID(1012),GeData(0));
ch->SetData(chbc); -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/08/2003 at 02:15, xxxxxxxx wrote:
Maybe you overread it: Mikael wrote GETParameter...
Cheers
Kabe
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/08/2003 at 03:45, xxxxxxxx wrote:
overread? no, I WANT to overwrite it! I need to SET the channel. He just pointed at the function. The corresponding contrary would then be SetParameter that should actually solve the problem. But it doesn´t for it doesn´t work.