THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/03/2007 at 06:35, xxxxxxxx wrote:
Cinema 4D Version: 9.5
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
Var mat = doc -> GetFirstMaterial ();
Mat -> SetChannelState (CHANNEL_COLOR, TRUE);
How can I achieve that it is assigned to the second material of the agent of materials ?
It would be like to replace First with Second ?
On 01/04/2007 at 11:23, xxxxxxxx wrote:
You can use mat->GetNext() to get the second material.
On 01/04/2007 at 11:30, xxxxxxxx wrote:
Thank you, Mikael Sterner, for the response.