On 09/11/2017 at 23:59, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 19
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : PYTHON ;
---------
import c4d
def Init(self, node) :
self.InitAttr(op, float, [c4d.PY_TUBEOBJECT_RAD])
self.InitAttr(op, float, [c4d.PY_TUBEOBJECT_IRADX])
node[c4d.PY_TUBEOBJECT_RAD]= 200.0
node[c4d.PY_TUBEOBJECT_IRADX] = 50.0
Looks like a variable name mix up: node vs. op