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[c4d.PHONGTAG_PHONG_ANGLELIMIT] = 1
myobject[c4d.PHONGTAG_PHONG_ANGLE] = 22
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
On 09/03/2011 at 01:25, xxxxxxxx wrote:
'myobject' is a cylinder.
MakeTag() returns the new tag.
mytag = myobject.MakeTag(c4d.Tphong)
mytag[c4d.PHONGTAG_PHONG_ANGLELIMIT] = 1
On 09/03/2011 at 01:51, xxxxxxxx wrote:
thanks its working
kind regards mogh