C.O.F.F.E.E TextureTag

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 18/05/2004 at 06:38, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.100 
Platform:      
Language(s) :   C.O.F.F.E.E  ;

---------
Hi,
Can anybody show me a C.O.F.F.E.E example to assign a material to an object (TextureTag). I can create the object and the material but miss the link between the two.
Thank you.
 
B->

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 19/05/2004 at 05:50, xxxxxxxx wrote:

That's not possible in C.O.F.F.E.E. in 8.1. From 8.5 and forward you can do:

    
    
    tag->SetObject(TEXTURETAG_MATERIAL, mat);