THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/03/2011 at 01:08, xxxxxxxx wrote:
another question rises
myobject = c4d.BaseObject(c4d.Ocylinder) #Allocate a new object doc.InsertObject(myobject) #Insert the object into the documents object list myobject.MakeTag(c4d.Tphong) myobject[c4d.PHONGTAG_PHONG_ANGLELIMIT] = 1 myobject[c4d.PHONGTAG_PHONG_ANGLE] = 22 # BaseDocument.SetActiveTag(myobject)
you can see at my code that i tried several stuff already but can't get it to work ...
I want to set the atributes of the phong tag i created ...
thanks in advance