Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
On 09/11/2017 at 23:59, xxxxxxxx wrote:
User Information: Cinema 4D Version: 19 Platform: Windows ; Mac ; Mac OSX ; Language(s) : PYTHON ;
---------
https://developers.maxon.net/docs/Cinema4DPythonSDK/html/modules/c4d.plugins/BaseData/NodeData/index.html#NodeData.InitAttr
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
On 10/11/2017 at 02:26, xxxxxxxx wrote:
Hi,
Thanks for reporting this issue in NodeData.InitAttr() code snippet. It will be fixed.