You need to call NodeData.InitAttr() in NodeData.Init. E.g.:

def Init(self, node): """ """ self.InitAttr(node, float, c4d.PY_TUBEOBJECT_RAD) self.InitAttr(node, float, c4d.PY_TUBEOBJECT_IRADX) node[c4d.PY_TUBEOBJECT_RAD] = 200.0 node[c4d.PY_TUBEOBJECT_IRADX] = 50.0 return True

But you should check the allocation problem first, it is the most likely culprit. Se the edit in my last posting.

Cheers,
Ferdinand